summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-07-29 02:56:27 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-07-29 02:56:27 (GMT)
commitd38d078566c7aaf9c9f2cf65abc9bfe106187ba5 (patch)
treeb4951cc15052353bff81765f75bc688df79455c8
parent48f4cf9b946b26faf3a7239fdf4bfb0f2498a966 (diff)
downloadcpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.zip
cpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.tar.gz
cpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.tar.bz2
Expat parser no longer has a returns_unicode attribute since everything is
Unicode now.
-rw-r--r--Lib/xmlrpclib.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
index 9a345ae..2b3f1db 100644
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -485,8 +485,6 @@ else:
parser.EndElementHandler = target.end
parser.CharacterDataHandler = target.data
encoding = None
- if not parser.returns_unicode:
- encoding = "utf-8"
target.xml(encoding, None)
def feed(self, data):