Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stdlib/@tests/stubtest_allowlists/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,10 @@ email.mime
email.parser
email.quoprimime
email.utils
xml.__all__
xml.dom
xml.etree
xml.parsers
xml.sax

# Missing aliases to existing methods that not many people seem to use.
Expand Down
4 changes: 3 additions & 1 deletion stdlib/xml/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from xml import parsers as parsers
# At runtime, listing submodules in __all__ without them being imported is
# valid, and causes them to be included in a star import. See #6523
__all__ = ["dom", "parsers", "sax", "etree"] # noqa: F822 # pyright: ignore[reportUnsupportedDunderAll]