[Python-ideas] list of reserved identifiers in program?
Daniel Fetchinson
fetchinson at googlemail.com
Fri Oct 26 11:34:44 CEST 2012
>> 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 ? :)
Exactly! Thanks a lot, I did not know about it before!
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
More information about the Python-ideas
mailing list