Expat parser no longer has a returns_unicode attribute since everything is

Unicode now.
This commit is contained in:
Brett Cannon 2007-07-29 02:56:27 +00:00
parent 48f4cf9b94
commit d38d078566

View File

@ -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):