typeshed
typeshed copied to clipboard
move pyexpat.ExpatError to xml.parsers.expat.ExpatError
This matches the name reported by the class at runtime.
related to https://github.com/python/typeshed/issues/11141
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉