]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Refactor deque_traverse().
authorRaymond Hettinger <python@rcn.com>
Sat, 6 Jul 2013 21:58:09 +0000 (11:58 -1000)
committerRaymond Hettinger <python@rcn.com>
Sat, 6 Jul 2013 21:58:09 +0000 (11:58 -1000)
commit5bfa8671bcce1fbac3964f13f5f93489f2be7da9
tree275f2b9c121b33ec56c000ffe822ec53a338c72e
parent98054b4c1be933f5bbfb3c1a1f4ee3f556dd47ca
Refactor deque_traverse().

Hoist conditional expression out of the loop.
Use rightblock as the guard instead of checking for NULL.
Modules/_collectionsmodule.c