diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-23 02:20:41 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-23 02:20:41 (GMT) |
commit | 73d796324242dc2164a0b5943bd08d6252a28651 (patch) | |
tree | 3c1770c2ea596e727e3c69604033016d02ea1574 /setup.py | |
parent | c5705a823bb200b48417677f8ef3ca6833ace4bb (diff) | |
download | cpython-73d796324242dc2164a0b5943bd08d6252a28651.zip cpython-73d796324242dc2164a0b5943bd08d6252a28651.tar.gz cpython-73d796324242dc2164a0b5943bd08d6252a28651.tar.bz2 |
Improve the implementation of itertools.product()
* Fix-up issues pointed-out by Neal Norwitz.
* Add extensive comments.
* The lz->result variable is now a tuple instead of a list.
* Use fast macro getitem/setitem calls so most code is in-line.
* Re-use the result tuple if available (modify in-place instead of copy).
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions