aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-12 00:34:28 +0000
committerMartin Panter <vadmium>2015-09-12 00:34:28 +0000
commit06171bd52a02173910d7ab8082850bbed0db1410 (patch)
tree25921b647bee4cc2897fa44866e1c0dc9f9bc565 /Lib/encodings
parentIssue #25063: socket.sendfile() does not exist in 3.4 (diff)
downloadcpython-06171bd52a02173910d7ab8082850bbed0db1410.tar.gz
cpython-06171bd52a02173910d7ab8082850bbed0db1410.tar.bz2
cpython-06171bd52a02173910d7ab8082850bbed0db1410.zip
Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding.
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'):