diff options
author | Martin Panter <vadmium> | 2015-09-12 00:34:28 (GMT) |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-12 00:34:28 (GMT) |
commit | 06171bd52a02173910d7ab8082850bbed0db1410 (patch) | |
tree | 25921b647bee4cc2897fa44866e1c0dc9f9bc565 /Lib/encodings | |
parent | f9b687525950999a08862b1339a62a0a163d7228 (diff) | |
download | cpython-06171bd52a02173910d7ab8082850bbed0db1410.zip cpython-06171bd52a02173910d7ab8082850bbed0db1410.tar.gz cpython-06171bd52a02173910d7ab8082850bbed0db1410.tar.bz2 |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/quopri_codec.py b/Lib/encodings/quopri_codec.py index 0533dbe..496cb76 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'): |