mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
move pyexpat.ExpatError to xml.parsers.expat.ExpatError (#11168)
This matches the name reported by the cass at runtime. related to https://github.com/python/typeshed/issues/11141 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -1 +1,7 @@
|
||||
from pyexpat import *
|
||||
|
||||
# This is actually implemented in the C module pyexpat, but considers itself to live here.
|
||||
class ExpatError(Exception):
|
||||
code: int
|
||||
lineno: int
|
||||
offset: int
|
||||
|
||||
Reference in New Issue
Block a user