File: _tracemalloc.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 (26 lines) | stat: -rw-r--r-- 667 bytes parent folder | download
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
"""Stub file for the '_tracemalloc' 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 _get_object_traceback(*args, **kwargs) -> Any: ...

def _get_traces() -> Any:
    raise MemoryError()

def clear_traces() -> None: ...

def get_traceback_limit() -> int: ...

def get_traced_memory() -> tuple: ...

def get_tracemalloc_memory() -> Any: ...

def is_tracing() -> bool: ...

def start(*args, **kwargs) -> None:
    raise ValueError()

def stop() -> None: ...