PyDocs

Python Language Services

keyword

Keywords (from "Grammar/python.gram")

This file is automatically generated; please don't muck it up!

To update the symbols in this file, 'cd' to the top directory of
the python source tree and run:

    PYTHONPATH=Tools/peg_generator python3 -m pegen.keywordgen         Grammar/python.gram         Grammar/Tokens         Lib/keyword.py

Alternatively, you can run 'make regen-keyword'.
Symbols in keyword

i

iskeyword
x.__contains__(y) <==> y in x.
issoftkeyword
x.__contains__(y) <==> y in x.

k

kwlist
Sequence containing all the keywords defined for the interpreter.

s

softkwlist
Sequence containing all the soft keywords defined for the interpreter.