]> granicus.if.org Git - python/commitdiff
Get email test to pass. Barry, hope this is what you had in mind
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 2 Jun 2002 16:38:14 +0000 (16:38 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 2 Jun 2002 16:38:14 +0000 (16:38 +0000)
Lib/email/_compat21.py
Lib/email/_compat22.py

index 932de484e379a36217da23030cdd8d92ac3cb9f4..478d2768cf80efc1f794775fd913621617e1e3d6 100644 (file)
@@ -25,9 +25,9 @@ def walk(self):
 
 
 # Used internally by the Header class
-def _intdiv2(i):
-    """Do an integer divide by 2."""
-    return i / 2
+def _floordiv(x, y):
+    """Do integer division."""
+    return x / y
 
 
 \f
index d505c96436538ed938d231932e2db89f6acd69f0..c88007cb4c71490657efa782e9a142f6e444fc5e 100644 (file)
@@ -26,9 +26,9 @@ def walk(self):
 
 
 # Used internally by the Header class
-def _intdiv2(i):
-    """Do an integer divide by 2."""
-    return i // 2
+def _floordiv(x, y):
+    """Do integer division."""
+    return x // y
 
 
 \f