diff options
author | Guido van Rossum <guido@python.org> | 2001-09-04 19:14:14 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-04 19:14:14 +0000 |
commit | 4672e65b7513d0e8e44534742542660300b20714 (patch) | |
tree | e583c3315eb0407d268b97b2020cc7ffbe04bdfa /Lib/quopri.py | |
parent | a62df561fb88c720b9dff33211339b24b1047a40 (diff) | |
download | cpython-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-x | Lib/quopri.py | 2 |
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] |