add some Python 2 modules

This commit is contained in:
Matthias Kramm
2015-03-12 14:21:08 -07:00
parent 83cdec9a4c
commit 231d854ef3
16 changed files with 863 additions and 0 deletions

31
python2/_hotshot.py Normal file
View File

@@ -0,0 +1,31 @@
# This is an autogenerated file. It serves as a starting point
# for a more percise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
def profiler(a: str, *args, **kwargs) -> object:
raise IOError()
def coverage(a: str) -> object: pass
def logreader(a: str) -> LogReaderType:
raise IOError()
raise RuntimeError()
def resolution() -> tuple: pass
class LogReaderType(object):
def close() -> NoneType: pass
def fileno() -> int:
raise ValueError()
class ProfilerType(object):
def addinfo(a: str, b: str) -> NoneType: pass
def close() -> NoneType: pass
def fileno() -> int:
raise ValueError()
def runcall(*args, **kwargs) -> object: pass
def runcode(a, b, *args, **kwargs) -> object:
raise TypeError()
def start() -> NoneType: pass
def stop() -> NoneType: pass