Skip to main content

PYTHON_KEYWORDS

Constant PYTHON_KEYWORDS 

Source
pub const PYTHON_KEYWORDS: &'static [&'static str];
Expand description

Python reserved keywords and soft-keywords that cannot be used as identifiers.

Includes the type soft-keyword (Python 3.12+) and the built-in constants None, True, False which are also reserved in identifier position.