summaryrefslogtreecommitdiffstats
path: root/Lib/base64.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-04 09:42:55 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-04 09:42:55 (GMT)
commit706824f19f734e5e567f32d989376547c0ae08da (patch)
tree0cd5ff7ccc373a848f409b572f1bd1ae727fd8fe /Lib/base64.py
parent3ed0deb9af03c3546ebe583c38ccfd0c5e364196 (diff)
downloadcpython-706824f19f734e5e567f32d989376547c0ae08da.zip
cpython-706824f19f734e5e567f32d989376547c0ae08da.tar.gz
cpython-706824f19f734e5e567f32d989376547c0ae08da.tar.bz2
More codestring -> codebytes.
Diffstat (limited to 'Lib/base64.py')
-rwxr-xr-xLib/base64.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/base64.py b/Lib/base64.py
index c1135a8..73e9808 100755
--- a/Lib/base64.py
+++ b/Lib/base64.py
@@ -391,9 +391,9 @@ def main():
def test():
s0 = b"Aladdin:open sesame"
print(repr(s0))
- s1 = encodestring(s0)
+ s1 = encodebytes(s0)
print(repr(s1))
- s2 = decodestring(s1)
+ s2 = decodebytes(s1)
print(repr(s2))
assert s0 == s2