mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
27 lines
687 B
Python
27 lines
687 B
Python
"""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 List, Tuple, Dict, Undefined, GenericType
|
|
|
|
def _get_object_traceback(*args, **kwargs) -> object: ...
|
|
|
|
def _get_traces() -> object:
|
|
raise MemoryError()
|
|
|
|
def clear_traces() -> None: ...
|
|
|
|
def get_traceback_limit() -> long: ...
|
|
|
|
def get_traced_memory() -> tuple: ...
|
|
|
|
def get_tracemalloc_memory() -> object: ...
|
|
|
|
def is_tracing() -> bool: ...
|
|
|
|
def start(*args, **kwargs) -> None:
|
|
raise ValueError()
|
|
|
|
def stop() -> None: ...
|