Add missing dunder overrides in array, tracemalloc and unittest.mock (#7248)

This commit is contained in:
Alex Waygood
2022-02-17 12:22:33 +00:00
committed by GitHub
parent 5c309e5fe4
commit 1f6c691322
3 changed files with 6 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ class Frame:
filename: str
lineno: int
def __init__(self, frame: _FrameTupleT) -> None: ...
def __eq__(self, other: object) -> bool: ...
def __lt__(self, other: Frame) -> bool: ...
if sys.version_info >= (3, 11):
def __gt__(self, other: Frame) -> bool: ...