diff --git a/stdlib/2.7/inspect.pyi b/stdlib/2.7/inspect.pyi index 0166966c4..818f52591 100644 --- a/stdlib/2.7/inspect.pyi +++ b/stdlib/2.7/inspect.pyi @@ -69,10 +69,8 @@ def getmro(cls: type) -> Tuple[type, ...]: ... def getinnerframes(traceback: TracebackType, context: int = ...) -> List[FrameType]: ... -class _Frame: - ... -_FrameRecord = Tuple[_Frame, str, int, str, List[str], int] +_FrameRecord = Tuple[FrameType, str, int, str, List[str], int] -def currentframe() -> _FrameRecord: ... +def currentframe() -> FrameType: ... def stack(context: int = ...) -> List[_FrameRecord]: ... def trace(context: int = ...) -> List[_FrameRecord]: ...