Commit d51b4c39 authored by Brett Cannon's avatar Brett Cannon

Expat parser no longer has a returns_unicode attribute since everything is

Unicode now.
parent ce6785a5
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment