ID EN
Sys

_clear_type_cache

Python 3.11

Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use the function only to drop unnecessary references during reference leak debugging.

Syntax

PYTHON
sys._clear_type_cache()