8000 Add __all__ to utils.py to explicitly export default_etree import · philippeowagner/html5lib-python@af6667a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af6667a

Browse files
committed
Add __all__ to utils.py to explicitly export default_etree import
This silences flake.
1 parent 81b97d5 commit af6667a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

html5lib/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
import xml.etree.ElementTree as default_etree
99

1010

11+
__all__ = ["default_etree", "MethodDispatcher", "isSurrogatePair",
12+
"surrogatePairToCodepoint", "moduleFactoryFactory"]
13+
14+
1115
class MethodDispatcher(dict):
1216
"""Dict with 2 special properties:
1317

0 commit comments

Comments
 (0)
0