Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #1726198: replace while 1: fp.readline() with file iteration. | Georg Brandl | 2008-01-21 | 1 | -3/+1 |
| | |||||
* | Regenerate. | Thomas Wouters | 2006-02-28 | 1 | -0/+2 |
| | |||||
* | Replace str.find()!=1 with the more readable "in" operator. | Raymond Hettinger | 2004-05-04 | 1 | -1/+1 |
| | |||||
* | SF patch #852140: keyword.py - use __contains__ and bool | Raymond Hettinger | 2003-12-02 | 1 | -5/+1 |
| | | | | Use a set instead of dict with values equal to one. | ||||
* | Patrick K. O'Brien notices that kwlist was missing from __all__. | Raymond Hettinger | 2002-10-30 | 1 | -1/+1 |
| | | | | Added because it is part of the documented interface. | ||||
* | Updated keyword.py for "yield". | Tim Peters | 2001-06-19 | 1 | -0/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -3/+3 |
| | |||||
* | a few more modules get __all__ | Skip Montanaro | 2001-01-24 | 1 | -0/+2 |
| | |||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -9/+10 |
| | | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -4/+4 |
| | |||||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 | 1 | -9/+9 |
| | |||||
* | 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 |