Skip to content

Commit 4e90e87

Browse files
committed
fix
1 parent 41133c4 commit 4e90e87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

stdlib/types.pyi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,11 +462,12 @@ class CoroutineType(Coroutine[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_co]):
462462
def cr_await(self) -> Any | None: ...
463463
@property
464464
def cr_code(self) -> CodeType: ...
465-
@property
466-
def cr_frame(self) -> FrameType: ...
467465
if sys.version_info >= (3, 12):
468466
@property
469467
def cr_frame(self) -> FrameType | None: ...
468+
else:
469+
@property
470+
def cr_frame(self) -> FrameType: ...
470471

471472
@property
472473
def cr_running(self) -> bool: ...

0 commit comments

Comments
 (0)