Mercurial > cpython-lru_cache-weakref
diff Lib/HTMLParser.py @ 41575:beacf40b5960
Rip out all the u"..." literals and calls to unicode().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 02 May 2007 19:09:54 +0000 |
| parents | 06145fbc7ab9 |
| children | 825d966338ea |
line wrap: on
line diff
--- a/Lib/HTMLParser.py Fri Apr 27 23:53:51 2007 +0000 +++ b/Lib/HTMLParser.py Wed May 02 19:09:54 2007 +0000 @@ -376,7 +376,7 @@ # 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:
