mirror of
https://github.com/python/cpython.git
synced 2025-08-09 03:19:15 +00:00
Get email test to pass. Barry, hope this is what you had in mind
This commit is contained in:
parent
1ccccc08c2
commit
1fab9ee085
2 changed files with 6 additions and 6 deletions
|
@ -25,9 +25,9 @@ def walk(self):
|
||||||
|
|
||||||
|
|
||||||
# Used internally by the Header class
|
# Used internally by the Header class
|
||||||
def _intdiv2(i):
|
def _floordiv(x, y):
|
||||||
"""Do an integer divide by 2."""
|
"""Do integer division."""
|
||||||
return i / 2
|
return x / y
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@ def walk(self):
|
||||||
|
|
||||||
|
|
||||||
# Used internally by the Header class
|
# Used internally by the Header class
|
||||||
def _intdiv2(i):
|
def _floordiv(x, y):
|
||||||
"""Do an integer divide by 2."""
|
"""Do integer division."""
|
||||||
return i // 2
|
return x // y
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue