summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpclib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r--Lib/xmlrpclib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index efb0a7b..da96420 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -622,7 +622,7 @@ class Marshaller:
write("<value><string>")
write(escape(value))
write("</string></value>\n")
- dispatch[str8] = dump_string
+ dispatch[bytes] = dump_string
def dump_unicode(self, value, write, escape=escape):
write("<value><string>")