commit | ff49279f7caeedf1ade2ea522badf0d60aa038e5 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sun Jun 02 18:59:06 2002 +0000 |
committer | Barry Warsaw <barry@python.org> | Sun Jun 02 18:59:06 2002 +0000 |
tree | af99894a97edef5006e2f8aaeaeca1668d05b55f | |
parent | e0d4972acc8cfd4b8fb16c074a8031e50fab0f29 [diff] [blame] |
_intdiv2() -> _floordiv(), merge of uncommitted changes.
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 @@ 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