From d38d078566c7aaf9c9f2cf65abc9bfe106187ba5 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 29 Jul 2007 02:56:27 +0000 Subject: Expat parser no longer has a returns_unicode attribute since everything is Unicode now. --- Lib/xmlrpclib.py | 2 -- 1 file changed, 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): -- cgit v0.12