mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
gc: fix arg name, mark positional-only args (#3760)
This commit is contained in:
@@ -12,7 +12,7 @@ DEBUG_UNCOLLECTABLE: int
|
||||
callbacks: List[Any]
|
||||
garbage: List[Any]
|
||||
|
||||
def collect(generations: int = ...) -> int: ...
|
||||
def collect(generation: int = ...) -> int: ...
|
||||
def disable() -> None: ...
|
||||
def enable() -> None: ...
|
||||
def get_count() -> Tuple[int, int, int]: ...
|
||||
@@ -25,8 +25,8 @@ def get_referents(*objs: Any) -> List[Any]: ...
|
||||
def get_referrers(*objs: Any) -> List[Any]: ...
|
||||
def get_stats() -> List[Dict[str, Any]]: ...
|
||||
def get_threshold() -> Tuple[int, int, int]: ...
|
||||
def is_tracked(obj: Any) -> bool: ...
|
||||
def is_tracked(__obj: Any) -> bool: ...
|
||||
def isenabled() -> bool: ...
|
||||
def set_debug(flags: int) -> None: ...
|
||||
def set_debug(__flags: int) -> None: ...
|
||||
def set_threshold(threshold0: int, threshold1: int = ...,
|
||||
threshold2: int = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user