summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-06-27 23:17:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-06-27 23:17:35 (GMT)
commitc2b151c66ee9bc6e686400ee93e65e07d1999888 (patch)
tree340f966be65a31060bbe8d47a272df9c861f69da /Lib
parenta6b3caad417c0472b611be251d623331744079a5 (diff)
downloadcpython-c2b151c66ee9bc6e686400ee93e65e07d1999888.zip
cpython-c2b151c66ee9bc6e686400ee93e65e07d1999888.tar.gz
cpython-c2b151c66ee9bc6e686400ee93e65e07d1999888.tar.bz2
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 'Lib')
0 files changed, 0 insertions, 0 deletions