Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a42d60

Browse files
committed
Merge.
2 parents f18a82d + 8dff4bd commit 8a42d60

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/html/parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import re
1313
import warnings
1414

15+
__all__ = ['HTMLParser']
16+
1517
# Regular expressions used for parsing
1618

1719
interesting_normal = re.compile('[&<]')

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Core and Builtins
6060
Library
6161
-------
6262

63+
- Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser.
64+
6365
- Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by
6466
extention load_module()) now have a better chance of working when reloaded.
6567

0 commit comments

Comments
 (0)