massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / gc.pyi
1 # Stubs for gc\r
2 \r
3 from typing import Any, Dict, List, Tuple\r
4 \r
5 \r
6 DEBUG_COLLECTABLE = ...  # type: int\r
7 DEBUG_LEAK = ...  # type: int\r
8 DEBUG_SAVEALL = ...  # type: int\r
9 DEBUG_STATS = ...  # type: int\r
10 DEBUG_UNCOLLECTABLE = ...  # type: int\r
11 callbacks = ...  # type: List[Any]\r
12 garbage = ...  # type: List[Any]\r
13 \r
14 def collect(generations: int = ...) -> int: ...\r
15 def disable() -> None: ...\r
16 def enable() -> None: ...\r
17 def get_count() -> Tuple[int, int, int]: ...\r
18 def get_debug() -> int: ...\r
19 def get_objects() -> List[Any]: ...\r
20 def get_referents(*objs: Any) -> List[Any]: ...\r
21 def get_referrers(*objs: Any) -> List[Any]: ...\r
22 def get_stats() -> List[Dict[str, Any]]: ...\r
23 def get_threshold() -> Tuple[int, int, int]: ...\r
24 def is_tracked(obj: Any) -> bool: ...\r
25 def isenabled() -> bool: ...\r
26 def set_debug(flags: int) -> None: ...\r
27 def set_threshold(threshold0: int, threshold1: int = ...,\r
28                   threshold2: int = ...) -> None: ...\r