Staging
v0.8.1
https://github.com/python/cpython
Revision 52915df4ddad5378f6c9c56e54089a42b29397e3 authored by Benjamin Peterson on 13 June 2009, 13:16:45 UTC, committed by Benjamin Peterson on 13 June 2009, 13:16:45 UTC
1 parent c7c1228
Raw File
Tip revision: 52915df4ddad5378f6c9c56e54089a42b29397e3 authored by Benjamin Peterson on 13 June 2009, 13:16:45 UTC
update the README to be a little more inspiring w/regards to stability
Tip revision: 52915df
keyword.rst
:mod:`keyword` --- Testing for Python keywords
==============================================

.. module:: keyword
   :synopsis: Test whether a string is a keyword in Python.


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.

back to top