mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Expat parser no longer has a returns_unicode attribute since everything is
Unicode now.
This commit is contained in:
parent
48f4cf9b94
commit
d38d078566
1 changed files with 0 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue