mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
33 lines
936 B
Python
33 lines
936 B
Python
"""Stub file for the '_hotshot' module."""
|
|
# 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 coverage(a: str) -> object: pass
|
|
|
|
def logreader(a: str) -> LogReaderType:
|
|
raise RuntimeError()
|
|
raise IOError()
|
|
|
|
def profiler(a: str, *args, **kwargs) -> object:
|
|
raise IOError()
|
|
|
|
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
|