diff --git a/builtins/2.7/xxsubtype.pyi b/builtins/2.7/xxsubtype.pyi index 20f2f9a07..861289092 100644 --- a/builtins/2.7/xxsubtype.pyi +++ b/builtins/2.7/xxsubtype.pyi @@ -1,19 +1,17 @@ """Stub file for the 'xxsubtype' module.""" -# This is an autogenerated file. It serves as a starting point -# for a more precise manual annotation of this module. -# Feel free to edit the source below, but remove this header when you do. -from typing import Any, List, Tuple, Dict, Generic +from typing import Any -def bench(a, b: str, *args, **kwargs) -> float: ... +def bench(obj: Any, name: str, n:int = ...) -> float: ... - -class spamdict(object): +class spamdict(dict): + state = ... # type: int def getstate(self) -> int: ... def setstate(self, a: int) -> None: ... -class spamlist(object): +class spamlist(list): + state = ... # type: int + def getstate(self) -> int: ... + def setstate(self, a: int) -> None: ... def classmeth(self, *args, **kwargs) -> tuple: ... - def getstate(self) -> int: ... - def setstate(self, a: int) -> None: ... def staticmeth(self, *args, **kwargs) -> tuple: ...