mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Minor code clean-up.
This commit is contained in:
parent
29655df11d
commit
d69755d1a3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue