Format: application/octet-stream
⬇ Download File (752 B)
   1  from typing import Any, List, Tuple
   2  
   3  def enable() -> None: ...
   4  def disable() -> None: ...
   5  def isenabled() -> bool: ...
   6  def collect(generation: int = ...) -> int: ...
   7  def set_debug(flags: int) -> None: ...
   8  def get_debug() -> int: ...
   9  def get_objects() -> List[Any]: ...
  10  def set_threshold(threshold0: int, threshold1: int = ..., threshold2: int = ...) -> None: ...
  11  def get_count() -> Tuple[int, int, int]: ...
  12  def get_threshold() -> Tuple[int, int, int]: ...
  13  def get_referrers(*objs: Any) -> List[Any]: ...
  14  def get_referents(*objs: Any) -> List[Any]: ...
  15  def is_tracked(obj: Any) -> bool: ...
  16  
  17  garbage: List[Any]
  18  
  19  DEBUG_STATS: int
  20  DEBUG_COLLECTABLE: int
  21  DEBUG_UNCOLLECTABLE: int
  22  DEBUG_INSTANCES: int
  23  DEBUG_OBJECTS: int
  24  DEBUG_SAVEALL: int
  25  DEBUG_LEAK: int
  26