# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Debug module to trace memory blocks allocated by Python. """ __doc__ = 'Debug module to trace memory blocks allocated by Python.' class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module instead. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = '_tracemalloc' __package__ = '' __spec__ = None def _get_object_traceback(obj): """ Get the traceback where the Python object obj was allocated. Return a tuple of (filename: str, lineno: int) tuples. Return None if the tracemalloc module is disabled or did not trace the allocation of the object. """ pass def _get_traces(arg0, arg1): """ Get traces of all memory blocks allocated by Python. Return a list of (size: int, traceback: tuple) tuples. traceback is a tuple of (filename: str, lineno: int) tuples. Return an empty list if the tracemalloc module is disabled. """ pass def clear_traces(): """ Clear traces of memory blocks allocated by Python. """ pass def get_traceback_limit(): """ Get the maximum number of frames stored in the traceback of a trace. By default, a trace of an allocated memory block only stores the most recent frame: the limit is 1. """ pass def get_traced_memory(arg0, arg1): """ Get the current size and peak size of memory blocks traced by tracemalloc. Returns a tuple: (current: int, peak: int). """ pass def get_tracemalloc_memory(): """ Get the memory usage in bytes of the tracemalloc module. This memory is used internally to trace memory allocations. """ pass def is_tracing(): """ Return True if the tracemalloc module is tracing Python memory allocations. """ pass def reset_peak(): """ Set the peak size of memory blocks traced by tracemalloc to the current size. Do nothing if the tracemalloc module is not tracing memory allocations. """ pass def start(nframe=1): """ Start tracing Python memory allocations. Also set the maximum number of frames stored in the traceback of a trace to nframe. """ pass def stop(): """ Stop tracing Python memory allocations. Also clear traces of memory blocks allocated by Python. """ pass