mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
@ -376,7 +376,7 @@ class HTMLParser(markupbase.ParserBase):
|
|||
# which is not part of HTML 4
|
||||
import htmlentitydefs
|
||||
if HTMLParser.entitydefs is None:
|
||||
entitydefs = HTMLParser.entitydefs = {'apos':u"'"}
|
||||
entitydefs = HTMLParser.entitydefs = {'apos':"'"}
|
||||
for k, v in htmlentitydefs.name2codepoint.items():
|
||||
entitydefs[k] = unichr(v)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue