mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
exc_traceback in TracebackException can be None (#6693)
This commit is contained in:
@@ -88,7 +88,7 @@ class TracebackException:
|
||||
self,
|
||||
exc_type: Type[BaseException],
|
||||
exc_value: BaseException,
|
||||
exc_traceback: TracebackType,
|
||||
exc_traceback: TracebackType | None,
|
||||
*,
|
||||
limit: int | None = ...,
|
||||
lookup_lines: bool = ...,
|
||||
@@ -111,7 +111,7 @@ class TracebackException:
|
||||
self,
|
||||
exc_type: Type[BaseException],
|
||||
exc_value: BaseException,
|
||||
exc_traceback: TracebackType,
|
||||
exc_traceback: TracebackType | None,
|
||||
*,
|
||||
limit: int | None = ...,
|
||||
lookup_lines: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user