mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
The first batch of changes recommended by the fixdiv tool. These are
mostly changes of / operators into //. Once or twice I did more or less than recommended.
This commit is contained in:
parent
b8f2274985
commit
54e54c6877
19 changed files with 38 additions and 38 deletions
|
@ -5,7 +5,7 @@ x += 1
|
|||
x *= 2
|
||||
x **= 2
|
||||
x -= 8
|
||||
x /= 2
|
||||
x //= 2
|
||||
x //= 1
|
||||
x %= 12
|
||||
x &= 2
|
||||
|
@ -19,7 +19,7 @@ x[0] += 1
|
|||
x[0] *= 2
|
||||
x[0] **= 2
|
||||
x[0] -= 8
|
||||
x[0] /= 2
|
||||
x[0] //= 2
|
||||
x[0] //= 2
|
||||
x[0] %= 12
|
||||
x[0] &= 2
|
||||
|
@ -33,7 +33,7 @@ x[0] += 1
|
|||
x[0] *= 2
|
||||
x[0] **= 2
|
||||
x[0] -= 8
|
||||
x[0] /= 2
|
||||
x[0] //= 2
|
||||
x[0] //= 1
|
||||
x[0] %= 12
|
||||
x[0] &= 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue