]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
cwr_next(): move invariants out of loops.
authorTim Peters <tim@python.org>
Tue, 3 Sep 2013 16:49:31 +0000 (11:49 -0500)
committerTim Peters <tim@python.org>
Tue, 3 Sep 2013 16:49:31 +0000 (11:49 -0500)
commit9edb168dd7f8fbe2da9874de720c2d00e5a3bf7e
tree8785f563e36d4e232ba14171578604c81995caaa
parentc554f725a09fc14a08ba2613682a961bd2216d45
cwr_next():  move invariants out of loops.

This simplifies and clarifies the code, and gives a small speedup.
Modules/itertoolsmodule.c