summaryrefslogtreecommitdiff
path: root/Lib/quopri.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-04 19:14:14 +0000
committerGuido van Rossum <guido@python.org>2001-09-04 19:14:14 +0000
commit4672e65b7513d0e8e44534742542660300b20714 (patch)
treee583c3315eb0407d268b97b2020cc7ffbe04bdfa /Lib/quopri.py
parenta62df561fb88c720b9dff33211339b24b1047a40 (diff)
downloadcpython-4672e65b7513d0e8e44534742542660300b20714.tar.gz
The first batch of changes recommended by the fixdiv tool. These are
mostly changes of / operators into //. Once or twice I did more or less than recommended.
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 575fcd11fb..f668abf3e1 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]