module documentation
(source)

Astroid hooks for understanding functools library module.
Class ​Lru​Wrapped​Model Special attribute model for functions decorated with functools.lru_cache.
Constant LRU​_CACHE Undocumented
Function _functools​_partial​_inference Undocumented
Function _looks​_like​_functools​_member Check if the given Call node is a functools.partial call
Function _looks​_like​_lru​_cache Check if the given function node is decorated with lru_cache.
Function _transform​_lru​_cache Undocumented
Variable _looks​_like​_partial Undocumented
LRU_CACHE: str = (source)

Undocumented

Value
'functools.lru_cache'
def _functools_partial_inference(node, context=None): (source)

Undocumented

def _looks_like_functools_member(node, member): (source)
Check if the given Call node is a functools.partial call
Returns
boolUndocumented
def _looks_like_lru_cache(node): (source)
Check if the given function node is decorated with lru_cache.
def _transform_lru_cache(node, context=None): (source)

Undocumented

_looks_like_partial = (source)

Undocumented