mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +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
|
@ -47,7 +47,7 @@ def test():
|
|||
# Ensure default comparison compares id() of args
|
||||
L = []
|
||||
for i in range(10):
|
||||
L.insert(len(L)/2, Empty())
|
||||
L.insert(len(L)//2, Empty())
|
||||
for a in L:
|
||||
for b in L:
|
||||
if cmp(a, b) != cmp(id(a), id(b)):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue