Python stdlib module — functools. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.cache()Neutralcache(user_function)
Simple lightweight unbounded cache. Sometimes called "memoize".
.namedtuple()Neutralnamedtuple(typename, field_names, rename, defaults, module)
Returns a new subclass of tuple with named fields.
.recursive_repr()Neutralrecursive_repr(fillvalue)
Decorator to make a repr function return fillvalue for a recursive call
.total_ordering()Neutraltotal_ordering(cls)
Class decorator that fills in missing ordering methods
.update_wrapper()Neutralupdate_wrapper(wrapper, wrapped, assigned, updated)
Update a wrapper function to look like the wrapped function
| FQN | Field | |
|---|---|---|
| functools | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import functools