diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-09-06 11:57:26 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-09-06 11:57:26 (GMT) |
commit | 7f5556095eed7383e98c24766aa302c5e473abc1 (patch) | |
tree | 62ef86cf5bd5c70dc8a48aa56f6066007529b656 /Lib/html/parser.py | |
parent | f22913b8c39f1053c291c96cf3016cabad60bbd4 (diff) | |
parent | d88d9836c541258a46acb153cd488de2a04b60db (diff) | |
download | cpython-7f5556095eed7383e98c24766aa302c5e473abc1.zip cpython-7f5556095eed7383e98c24766aa302c5e473abc1.tar.gz cpython-7f5556095eed7383e98c24766aa302c5e473abc1.tar.bz2 |
merge heads
Diffstat (limited to 'Lib/html/parser.py')
-rw-r--r-- | Lib/html/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/html/parser.py b/Lib/html/parser.py index 9412280..a6d5be9 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -458,4 +458,4 @@ class HTMLParser(_markupbase.ParserBase): return '&'+s+';' return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", - replaceEntities, s, re.ASCII) + replaceEntities, s, flags=re.ASCII) |