mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Rename .py to .pyi.
This commit is contained in:
26
3/_tracemalloc.pyi
Normal file
26
3/_tracemalloc.pyi
Normal file
@@ -0,0 +1,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 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: ...
|
||||
Reference in New Issue
Block a user