mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
20 lines
298 B
Markdown
20 lines
298 B
Markdown
---
|
|
icon: package
|
|
label: gc
|
|
---
|
|
|
|
### `gc.collect()`
|
|
|
|
Invoke the garbage collector.
|
|
|
|
### `gc.enable()`
|
|
|
|
Enable automatic garbage collection.
|
|
|
|
### `gc.disable()`
|
|
|
|
Disable automatic garbage collection.
|
|
|
|
### `gc.isenabled()`
|
|
|
|
Return `True` if automatic garbage collection is enabled, `False` otherwise. |