diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-07-29 02:56:27 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-07-29 02:56:27 (GMT) |
commit | d38d078566c7aaf9c9f2cf65abc9bfe106187ba5 (patch) | |
tree | b4951cc15052353bff81765f75bc688df79455c8 /Lib | |
parent | 48f4cf9b946b26faf3a7239fdf4bfb0f2498a966 (diff) | |
download | cpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.zip cpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.tar.gz cpython-d38d078566c7aaf9c9f2cf65abc9bfe106187ba5.tar.bz2 |
Expat parser no longer has a returns_unicode attribute since everything is
Unicode now.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/xmlrpclib.py | 2 |
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): |