Question #289

What is the purpose of the keyword module?

keyword is a built-in module that allows checking if a string is a reserved keyword. Nothing else! For the record, custom keywords cannot be added to Python. (docs.python.org/3/library/keyword.html)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵