massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / gc.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/gc.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/3/gc.pyi
new file mode 100644 (file)
index 0000000..79ff9e4
--- /dev/null
@@ -0,0 +1,28 @@
+# Stubs for gc\r
+\r
+from typing import Any, Dict, List, Tuple\r
+\r
+\r
+DEBUG_COLLECTABLE = ...  # type: int\r
+DEBUG_LEAK = ...  # type: int\r
+DEBUG_SAVEALL = ...  # type: int\r
+DEBUG_STATS = ...  # type: int\r
+DEBUG_UNCOLLECTABLE = ...  # type: int\r
+callbacks = ...  # type: List[Any]\r
+garbage = ...  # type: List[Any]\r
+\r
+def collect(generations: int = ...) -> int: ...\r
+def disable() -> None: ...\r
+def enable() -> None: ...\r
+def get_count() -> Tuple[int, int, int]: ...\r
+def get_debug() -> int: ...\r
+def get_objects() -> List[Any]: ...\r
+def get_referents(*objs: Any) -> List[Any]: ...\r
+def get_referrers(*objs: Any) -> List[Any]: ...\r
+def get_stats() -> List[Dict[str, Any]]: ...\r
+def get_threshold() -> Tuple[int, int, int]: ...\r
+def is_tracked(obj: Any) -> bool: ...\r
+def isenabled() -> bool: ...\r
+def set_debug(flags: int) -> None: ...\r
+def set_threshold(threshold0: int, threshold1: int = ...,\r
+                  threshold2: int = ...) -> None: ...\r