diff options
| author | Barry Warsaw <barry@python.org> | 2002-06-02 18:59:06 +0000 |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-06-02 18:59:06 +0000 |
| commit | ff49279f7caeedf1ade2ea522badf0d60aa038e5 (patch) | |
| tree | af99894a97edef5006e2f8aaeaeca1668d05b55f /Lib/email/_compat22.py | |
| parent | e0d4972acc8cfd4b8fb16c074a8031e50fab0f29 (diff) | |
| download | cpython-git-ff49279f7caeedf1ade2ea522badf0d60aa038e5.tar.gz | |
_intdiv2() -> _floordiv(), merge of uncommitted changes.
Diffstat (limited to 'Lib/email/_compat22.py')
| -rw-r--r-- | Lib/email/_compat22.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/email/_compat22.py b/Lib/email/_compat22.py index c88007cb4c..258156805b 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 |
