Minor code clean-up.

This commit is contained in:
Raymond Hettinger 2015-05-15 17:53:52 -07:00
parent 29655df11d
commit d69755d1a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}