diff options
| author | Brett Cannon <bcannon@gmail.com> | 2004-06-27 23:17:35 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2004-06-27 23:17:35 +0000 |
| commit | c2b151c66ee9bc6e686400ee93e65e07d1999888 (patch) | |
| tree | 340f966be65a31060bbe8d47a272df9c861f69da /Demo/parser | |
| parent | a6b3caad417c0472b611be251d623331744079a5 (diff) | |
| download | cpython-git-c2b151c66ee9bc6e686400ee93e65e07d1999888.tar.gz | |
Add code for a range function that uses generators.
Cleaned up existing code by abstracting code to parse arguments. Also removed
any unneeded operations (such as calling 'int' on a division when using floor
division also works). Fixed a bug where the values returned by
OldStyleRange could be short by one value. Added more documentation.
Testing code also has a basic sanity check.
Diffstat (limited to 'Demo/parser')
0 files changed, 0 insertions, 0 deletions
