Yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/module-keyword.html

From ZCubes Wiki
Jump to navigation Jump to search

3.19 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.