mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
E.g. it's legal to call traceback.format_exception(None, None, None). In particular, this change makes the following idiom type-check: import traceback import sys exc_type, exc_value, exc_traceback = sys.exc_info() traceback.format_exception(exc_type, exc_value, exc_traceback)