[Python-ideas] list of reserved identifiers in program?

Christian Heimes christian at python.org
Fri Oct 26 11:28:55 CEST 2012


Am 26.10.2012 11:22, schrieb Daniel Fetchinson:
> Hi folks,
> 
> Would it be a good idea to have a built-in list of strings containing
> the reserved identifiers of python such as 'assert', 'import', etc?

Something like
http://hg.python.org/cpython/file/405932ddca9c/Lib/keyword.py ? :)

Christian





More information about the Python-ideas mailing list