Skip to content

Commit 2524cd9

Browse files
committed
fix(types): cr_frame may be None
1 parent c7d0fd9 commit 2524cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/types.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ class CoroutineType(Coroutine[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_co]):
463463
@property
464464
def cr_code(self) -> CodeType: ...
465465
@property
466-
def cr_frame(self) -> FrameType: ...
466+
def cr_frame(self) -> FrameType | None: ...
467467
@property
468468
def cr_running(self) -> bool: ...
469469
@property

0 commit comments

Comments
 (0)