|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-token.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/language.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-tokenize.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 17.3 token Up: 17. Python Language Services Next: 17.5 tokenize
17.4 keyword -- Testing for Python keywords
This module allows a Python program to determine if a string is a keyword. A single function is provided:
- iskeyword (s)
- Return true if s is a Python keyword.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-token.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/language.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-tokenize.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 17.3 token Up: 17. Python Language Services Next: 17.5 tokenize
See About this document... for information on suggesting changes.