mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Use floor division operator.
This commit is contained in:
parent
4837a223ee
commit
ffdb8bb99c
7 changed files with 8 additions and 8 deletions
|
@ -50,7 +50,7 @@ class E:
|
|||
def __iter__(self):
|
||||
return self
|
||||
def next(self):
|
||||
3/0
|
||||
3 // 0
|
||||
|
||||
class N:
|
||||
'Iterator missing next()'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue