mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Annotate known magic-method return types (#9131)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user