module documentation
Astroid hooks for understanding functools library module.
Class |
|
Special attribute model for functions decorated with functools.lru_cache. |
Constant | LRU |
Undocumented |
Function | _functools |
Undocumented |
Function | _looks |
Check if the given Call node is a functools.partial call. |
Function | _looks |
Check if the given function node is decorated with lru_cache. |
Function | _transform |
Undocumented |
Variable | _looks |
Undocumented |
def _functools_partial_inference(node:
nodes.Call
, context: InferenceContext|None
= None) -> Iterator[ objects.PartialFunction]
:
(source)
¶
Undocumented