]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Since pyexpat isn't always available in Python 2.2, allow repeated
authorFred Drake <fdrake@acm.org>
Thu, 8 Aug 2002 14:34:12 +0000 (14:34 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 8 Aug 2002 14:34:12 +0000 (14:34 +0000)
commit0256444b79e7068a1bfa43a4a995036e376f13fb
tree330a5a55411a91e358217323514768d81cc5ebcd
parentf78a5cd397f9435fef44ada41a0d983b0a7f9941
Since pyexpat isn't always available in Python 2.2, allow repeated
imports of xml.parsers.expat to raise ImportError if pyexpat isn't
available.

Not needed in Python 2.3, since pyexpat is always built there.
Lib/xml/parsers/expat.py