commit | c2b151c66ee9bc6e686400ee93e65e07d1999888 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sun Jun 27 23:17:35 2004 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sun Jun 27 23:17:35 2004 +0000 |
tree | 340f966be65a31060bbe8d47a272df9c861f69da | |
parent | a6b3caad417c0472b611be251d623331744079a5 [diff] |
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.