PYTHON gc_collect_cycles

is this article helpful?
|
Python replacement for PHP's gc_collect_cycles [ edit | history ]
import gc
gc.collect()

PHP gc_collect_cycles

PHP original manual for gc_collect_cycles [ show | php.net ]

gc_collect_cycles

(PHP 5 >= 5.3.0)

gc_collect_cyclesForces collection of any existing garbage cycles

Description

int gc_collect_cycles ( void )
Warning

This function is currently not documented; only its argument list is available.

Forces collection of any existing garbage cycles.

Parameters

This function has no parameters.

Return Values

Returns number of collected cycles.