summaryrefslogtreecommitdiffstats
path: root/Lib/email/_compat22.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/_compat22.py')
-rw-r--r--Lib/email/_compat22.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/email/_compat22.py b/Lib/email/_compat22.py
index d505c96..c88007c 100644
--- a/Lib/email/_compat22.py
+++ b/Lib/email/_compat22.py
@@ -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