commit | d69755d1a3b778e9e367c96769f348d1eb0c630c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri May 15 17:53:52 2015 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Fri May 15 17:53:52 2015 -0700 |
tree | b665977ba349f6f9f30aa64bb08d24dbfee87043 | |
parent | 29655df11d48d3b2bfdb9b06be79ed512d292c83 [diff] |
Minor code clean-up.
diff --git a/Modules/_heapqmodule.c b/Modules/_heapqmodule.c index 88c35cf..6767feb 100644 --- a/Modules/_heapqmodule.c +++ b/Modules/_heapqmodule.c
@@ -261,8 +261,8 @@ int i = 0; while (n > 1) { - i += 1; n >>= 1; + i++; } return n << i; }