3.17 Standard Module keyword

 

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.


guido@python.org