mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
exc_traceback in TracebackException can be None (#6693)
This commit is contained in:
1 parent
8bf46faf5f
commit
0b3ee9808c
1 file changed
+2
-2
@@ -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