Use floor division operator.

This commit is contained in:
Raymond Hettinger 2004-09-27 15:29:05 +00:00
parent 4837a223ee
commit ffdb8bb99c
7 changed files with 8 additions and 8 deletions

View file

@ -50,7 +50,7 @@ class E:
def __iter__(self):
return self
def next(self):
3/0
3 // 0
class N:
'Iterator missing next()'