mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 17:43:25 +08:00
CPython _warnings module implementation accepts Warning subclasses and None, but not any subclass of BaseException specified in the stub. The stub for warnings is correct.