Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regenerated; __assert__ becomes assert. | Guido van Rossum | 1997-07-23 | 1 | -1/+1 |
| | |||||
* | Ping's new version -- more efficient at finding the keywords. | Guido van Rossum | 1997-03-20 | 1 | -37/+13 |
| | |||||
* | Added __assert__. | Guido van Rossum | 1997-03-20 | 1 | -0/+1 |
| | |||||
* | Ka-Ping Yee's version is better: | Guido van Rossum | 1997-03-20 | 1 | -37/+116 |
| | | | | | | | | | | Here's a "keyword" module which, in the spirit of "token.py", updates the list of keywords automatically from a source file (in this case, "graminit.c" seemed like a reasonable choice, easier than "Grammar/Grammar"). You get "kwlist", a sorted list of keywords; "kwdict", a dictionary mapping each keyword to 1; and "iskeyword", a function which tells you if a given string happens to be a keyword. | ||||
* | Simple module to publish list of Python keywords. | Guido van Rossum | 1997-03-20 | 1 | -0/+37 |