|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-tokenize.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/python.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-token.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 3.19 tokenize Up: 3. Python Services Previous: 3.17 token
3.18 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/152/lib/module-tokenize.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/python.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-token.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 3.19 tokenize Up: 3. Python Services Previous: 3.17 token
Send comments on this document to python-docs@python.org.