mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -04:00
Fix when pyexpat not built
Import pyexpat first so that import error occurs when it is not available.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# XXX TypeErrors on calling handlers, or on bad return values from a
|
||||
# handler, are obscure and unhelpful.
|
||||
|
||||
import pyexpat
|
||||
from xml.parsers import expat
|
||||
|
||||
from test_support import sortdict
|
||||
|
||||
Reference in New Issue
Block a user