Skip to content

Commit 41133c4

Browse files
committed
fix
1 parent 2524cd9 commit 41133c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

stdlib/types.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,11 @@ 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 | None: ...
466+
def cr_frame(self) -> FrameType: ...
467+
if sys.version_info >= (3, 12):
468+
@property
469+
def cr_frame(self) -> FrameType | None: ...
470+
467471
@property
468472
def cr_running(self) -> bool: ...
469473
@property

0 commit comments

Comments
 (0)