mirror of
https://github.com/python/cpython.git
synced 2025-09-09 02:11:51 +00:00
gh-49174: document that the effect of calling gc.collect() during a collection is undefined (#104699)
This commit is contained in:
parent
d1732feea0
commit
30488fa22a
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ The :mod:`gc` module provides the following functions:
|
|||
is run. Not all items in some free lists may be freed due to the
|
||||
particular implementation, in particular :class:`float`.
|
||||
|
||||
The effect of calling ``gc.collect()`` while the interpreter is already
|
||||
performing a collection is undefined.
|
||||
|
||||
|
||||
.. function:: set_debug(flags)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue