Kaydet (Commit) ff49279f authored tarafından Barry Warsaw's avatar Barry Warsaw

_intdiv2() -> _floordiv(), merge of uncommitted changes.

üst e0d4972a
...@@ -24,10 +24,10 @@ def walk(self): ...@@ -24,10 +24,10 @@ def walk(self):
return parts return parts
# Used internally by the Header class # Python 2.2 spells floor division //
def _floordiv(x, y): def _floordiv(i, j):
"""Do integer division.""" """Do a floor division, i/j."""
return x / y return i / j
......
...@@ -25,10 +25,10 @@ def walk(self): ...@@ -25,10 +25,10 @@ def walk(self):
yield subsubpart yield subsubpart
# Used internally by the Header class # Python 2.2 spells floor division //
def _floordiv(x, y): def _floordiv(i, j):
"""Do integer division.""" """Do a floor division, i/j."""
return x // y return i // j
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment