mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
35 lines
990 B
Python
35 lines
990 B
Python
"""Stub file for the '_hotshot' 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
|
|
|
|
def coverage(a: str) -> Any: ...
|
|
|
|
def logreader(a: str) -> LogReaderType:
|
|
raise IOError()
|
|
raise RuntimeError()
|
|
|
|
def profiler(a: str, *args, **kwargs) -> Any:
|
|
raise IOError()
|
|
|
|
def resolution() -> tuple: ...
|
|
|
|
|
|
class LogReaderType(object):
|
|
def close(self) -> None: ...
|
|
def fileno(self) -> int:
|
|
raise ValueError()
|
|
|
|
class ProfilerType(object):
|
|
def addinfo(self, a: str, b: str) -> None: ...
|
|
def close(self) -> None: ...
|
|
def fileno(self) -> int:
|
|
raise ValueError()
|
|
def runcall(self, *args, **kwargs) -> Any: ...
|
|
def runcode(self, a, b, *args, **kwargs) -> Any:
|
|
raise TypeError()
|
|
def start(self) -> None: ...
|
|
def stop(self) -> None: ...
|