summaryrefslogtreecommitdiffstats
path: root/Lib/quopri.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/quopri.py')
-rwxr-xr-xLib/quopri.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/quopri.py b/Lib/quopri.py
index 575fcd1..f668abf 100755
--- a/Lib/quopri.py
+++ b/Lib/quopri.py
@@ -27,7 +27,7 @@ def needsquoting(c, quotetabs):
def quote(c):
"""Quote a single character."""
i = ord(c)
- return ESCAPE + HEX[i/16] + HEX[i%16]
+ return ESCAPE + HEX[i//16] + HEX[i%16]