mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
10
builtins/3/gc.pyi
Normal file
10
builtins/3/gc.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for gc
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
import typing
|
||||
|
||||
def collect(generation: int = -1) -> int: ...
|
||||
def disable() -> None: ...
|
||||
def enable() -> None: ...
|
||||
def isenabled() -> bool: ...
|
||||
Reference in New Issue
Block a user