mirror of https://github.com/python/cpython.git
Get email test to pass. Barry, hope this is what you had in mind
This commit is contained in:
parent
1ccccc08c2
commit
1fab9ee085
|
@ -25,9 +25,9 @@ def walk(self):
|
|||
|
||||
|
||||
# Used internally by the Header class
|
||||
def _intdiv2(i):
|
||||
"""Do an integer divide by 2."""
|
||||
return i / 2
|
||||
def _floordiv(x, y):
|
||||
"""Do integer division."""
|
||||
return x / y
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ def walk(self):
|
|||
|
||||
|
||||
# Used internally by the Header class
|
||||
def _intdiv2(i):
|
||||
"""Do an integer divide by 2."""
|
||||
return i // 2
|
||||
def _floordiv(x, y):
|
||||
"""Do integer division."""
|
||||
return x // y
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue