diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/email/_compat21.py | 8 | ||||
-rw-r--r-- | Lib/email/_compat22.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Lib/email/_compat21.py b/Lib/email/_compat21.py index 478d276..76d6f50 100644 --- a/Lib/email/_compat21.py +++ b/Lib/email/_compat21.py @@ -24,10 +24,10 @@ def walk(self): return parts -# Used internally by the Header class -def _floordiv(x, y): - """Do integer division.""" - return x / y +# Python 2.2 spells floor division // +def _floordiv(i, j): + """Do a floor division, i/j.""" + return i / j diff --git a/Lib/email/_compat22.py b/Lib/email/_compat22.py index c88007c..2581568 100644 --- a/Lib/email/_compat22.py +++ b/Lib/email/_compat22.py @@ -25,10 +25,10 @@ def walk(self): yield subsubpart -# Used internally by the Header class -def _floordiv(x, y): - """Do integer division.""" - return x // y +# Python 2.2 spells floor division // +def _floordiv(i, j): + """Do a floor division, i/j.""" + return i // j |