![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/proc/self/root/usr/share/doc/python2-docs/html/_sources/library/ |
:mod:`keyword` --- Testing for Python keywords ============================================== .. module:: keyword :synopsis: Test whether a string is a keyword in Python. **Source code:** :source:`Lib/keyword.py` -------------- This module allows a Python program to determine if a string is a keyword. .. function:: iskeyword(s) Return true if *s* is a Python keyword. .. data:: kwlist Sequence containing all the keywords defined for the interpreter. If any keywords are defined to only be active when particular :mod:`__future__` statements are in effect, these will be included as well.