Skip to content

Commit

Permalink
Export xml.parsers and xml.etree like CPython 2.7 (jython#343)
Browse files Browse the repository at this point in the history
Export the same modules as in CPython 2.7 via __all___. Tests cover these modules already.
  • Loading branch information
thetric authored Jul 20, 2024
1 parent 9ca0881 commit 9e52474
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Lib/xml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
"""Core XML support for Jython.
This package contains two sub-packages:
This package contains four sub-packages:
dom -- The W3C Document Object Model. This supports DOM Level 1 +
Namespaces.
parsers -- Python wrappers for XML parsers (currently only supports Expat).
sax -- The Simple API for XML, developed by XML-Dev, led by David
Megginson and ported to Python by Lars Marius Garshol. This
supports the SAX 2 API.
etree -- The ElementTree XML library. This is a subset of the full
ElementTree XML release.
"""

__all__ = ['dom', 'sax']

__all__ = ["dom", "parsers", "sax", "etree"]

_MINIMUM_XMLPLUS_VERSION = (0, 8, 5)

Expand Down

0 comments on commit 9e52474

Please sign in to comment.