mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
FrameType.f_lineno can be None (#6769)
This commit is contained in:
@@ -148,7 +148,7 @@ class FrameType:
|
||||
f_exc_traceback: None
|
||||
f_globals: Dict[str, Any]
|
||||
f_lasti: int
|
||||
f_lineno: int
|
||||
f_lineno: int | None
|
||||
f_locals: Dict[str, Any]
|
||||
f_restricted: bool
|
||||
f_trace: Callable[[], None]
|
||||
|
||||
@@ -353,7 +353,7 @@ class FrameType:
|
||||
f_code: CodeType
|
||||
f_globals: dict[str, Any]
|
||||
f_lasti: int
|
||||
f_lineno: int
|
||||
f_lineno: int | None
|
||||
f_locals: dict[str, Any]
|
||||
f_trace: Callable[[FrameType, str, Any], Any] | None
|
||||
if sys.version_info >= (3, 7):
|
||||
|
||||
Reference in New Issue
Block a user