MCPcopy
hub / github.com/django/django / garbage_collect

Function garbage_collect

django/test/utils.py:1017–1021  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1015
1016
1017def garbage_collect():
1018 gc.collect()
1019 if PYPY:
1020 # Collecting weakreferences can take two collections on PyPy.
1021 gc.collect()

Calls 1

collectMethod · 0.45