diff options
author | Raymond Hettinger <python@rcn.com> | 2015-05-16 00:53:52 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-05-16 00:53:52 (GMT) |
commit | d69755d1a3b778e9e367c96769f348d1eb0c630c (patch) | |
tree | b665977ba349f6f9f30aa64bb08d24dbfee87043 /Modules/_heapqmodule.c | |
parent | 29655df11d48d3b2bfdb9b06be79ed512d292c83 (diff) | |
download | cpython-d69755d1a3b778e9e367c96769f348d1eb0c630c.zip cpython-d69755d1a3b778e9e367c96769f348d1eb0c630c.tar.gz cpython-d69755d1a3b778e9e367c96769f348d1eb0c630c.tar.bz2 |
Minor code clean-up.
Diffstat (limited to 'Modules/_heapqmodule.c')
-rw-r--r-- | Modules/_heapqmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ keep_top_bit(Py_ssize_t n) int i = 0; while (n > 1) { - i += 1; n >>= 1; + i++; } return n << i; } |