diff options
author | Guido van Rossum <guido@python.org> | 2007-05-15 21:10:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-05-15 21:10:24 (GMT) |
commit | ea0ebd807507e94d06ed2ff046f5bb6693400ecd (patch) | |
tree | 34b6795135912426d2b962e1af161a8c579923da /Lib/encodings | |
parent | 2be161dcfa531b0e2f3f9887e198be59f477854e (diff) | |
download | cpython-ea0ebd807507e94d06ed2ff046f5bb6693400ecd.zip cpython-ea0ebd807507e94d06ed2ff046f5bb6693400ecd.tar.gz cpython-ea0ebd807507e94d06ed2ff046f5bb6693400ecd.tar.bz2 |
Make test_str.py pass.
Diffstat (limited to 'Lib/encodings')
-rw-r--r-- | Lib/encodings/base64_codec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/base64_codec.py b/Lib/encodings/base64_codec.py index f84e780..e6a1e65 100644 --- a/Lib/encodings/base64_codec.py +++ b/Lib/encodings/base64_codec.py @@ -21,7 +21,7 @@ def base64_encode(input,errors='strict'): """ assert errors == 'strict' - output = base64.encodestring(input) + output = bytes(base64.encodestring(input)) return (output, len(input)) def base64_decode(input,errors='strict'): |