From: Raymond Hettinger Date: Sat, 16 May 2015 00:53:52 +0000 (-0700) Subject: Minor code clean-up. X-Git-Tag: v3.5.0b1~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d69755d1a3b778e9e367c96769f348d1eb0c630c;p=python Minor code clean-up. --- diff --git a/Modules/_heapqmodule.c b/Modules/_heapqmodule.c index 88c35cf32e..6767feb9f2 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; }