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:
Guido van Rossum 2001-09-04 19:14:14 +00:00
parent b8f2274985
commit 54e54c6877
19 changed files with 38 additions and 38 deletions

View file

@ -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)):