File: _hotshot.pyi

package info (click to toggle)
mypy 0.470-complete-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,864 kB
  • ctags: 3,264
  • sloc: python: 21,838; makefile: 18
file content (34 lines) | stat: -rw-r--r-- 990 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""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: ...