aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-12 01:22:17 +0000
committerMartin Panter <vadmium>2015-09-12 01:22:17 +0000
commit9ab96946eef86d2fc0e54262ee7c44f3d5dc3d39 (patch)
tree3b3abc3f73c2675e0e7fb700f23ea6704cdda4fb /Lib/encodings
parentsocket.sendfile() is a method not a module (diff)
parentIssue #16473: Fix byte transform codec documentation; test quotetabs=True (diff)
downloadcpython-9ab96946eef86d2fc0e54262ee7c44f3d5dc3d39.tar.gz
cpython-9ab96946eef86d2fc0e54262ee7c44f3d5dc3d39.tar.bz2
cpython-9ab96946eef86d2fc0e54262ee7c44f3d5dc3d39.zip
Issue #16473: Merge codecs doc and test from 3.4 into 3.5
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/quopri_codec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/quopri_codec.py b/Lib/encodings/quopri_codec.py
index 0533dbe4e7b..496cb7655d0 100644
--- a/Lib/encodings/quopri_codec.py
+++ b/Lib/encodings/quopri_codec.py
@@ -11,7 +11,7 @@ def quopri_encode(input, errors='strict'):
assert errors == 'strict'
f = BytesIO(input)
g = BytesIO()
- quopri.encode(f, g, 1)
+ quopri.encode(f, g, quotetabs=True)
return (g.getvalue(), len(input))
def quopri_decode(input, errors='strict'):