Annotate known magic-method return types (#9131)

This commit is contained in:
Nikita Sobolev
2022-11-08 21:28:42 +03:00
committed by GitHub
parent c0e9038f0d
commit 62a6c3d616
87 changed files with 172 additions and 172 deletions

View File

@@ -133,7 +133,7 @@ def defaultSerialize(obj, buf, lineLength): ...
class Stack:
stack: Any
def __len__(self): ...
def __len__(self) -> int: ...
def top(self): ...
def topName(self): ...
def modifyTop(self, item) -> None: ...