mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-28 09:25:33 +08:00
87b758b0da
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