Update Coroutine.cr_frame to return correct type (#11798)

Update Coroutine.cr_frame to return correct type
This commit is contained in:
Kaleb Barrett
2024-04-20 15:51:36 -04:00
committed by GitHub
parent 425db9c122
commit ff946a7349

View File

@@ -444,7 +444,7 @@ class Coroutine(Awaitable[_ReturnT_co], Generic[_YieldT_co, _SendT_contra, _Retu
@property
def cr_code(self) -> CodeType: ...
@property
def cr_frame(self) -> FrameType: ...
def cr_frame(self) -> FrameType | None: ...
@property
def cr_running(self) -> bool: ...
@abstractmethod