mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 07:14:12 +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.