diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index a9f17cc80..745f1bec3 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -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