mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 21:20:23 +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.