mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
The target argument can be an arbitrary object. If it has certain methods, they are used by XMLParser, missing methods are ignored. Ideally, we'd be able to type the potentially missing methods correctly, but currently the type system is unable to do so. Fixes #4537