Move 2.7 to 2 (#635)

Closes #579.
This commit is contained in:
Guido van Rossum
2016-10-26 16:24:49 -07:00
committed by GitHub
parent d60bea14f6
commit cb97bb54c0
338 changed files with 0 additions and 0 deletions

17
stdlib/2/xxsubtype.pyi Normal file
View File

@@ -0,0 +1,17 @@
"""Stub file for the 'xxsubtype' module."""
from typing import Any
def bench(obj: Any, name: str, n:int = ...) -> float: ...
class spamdict(dict):
state = ... # type: int
def getstate(self) -> int: ...
def setstate(self, a: int) -> None: ...
class spamlist(list):
state = ... # type: int
def getstate(self) -> int: ...
def setstate(self, a: int) -> None: ...
def classmeth(self, *args, **kwargs) -> tuple: ...
def staticmeth(self, *args, **kwargs) -> tuple: ...