cache(user_function) |
Simple lightweight unbounded cache. Sometimes called "memoize". [extrait de cache.__doc__] |
cmp_to_key |
Convert a cmp= function into a key= function. [extrait de cmp_to_key.__doc__] |
get_cache_token() |
Returns the current ABC cache token. [extrait de get_cache_token.__doc__] |
lru_cache(maxsize=128, typed=False) |
Least-recently-used cache decorator. [extrait de lru_cache.__doc__] |
namedtuple(typename, field_names, *, rename=False, defaults=None, module=None) |
Returns a new subclass of tuple with named fields. [extrait de namedtuple.__doc__] |
recursive_repr(fillvalue='...') |
Decorator to make a repr function return fillvalue for a recursive call [extrait de recursive_repr.__doc__] |
reduce |
reduce(function, iterable[, initial]) -> value [extrait de reduce.__doc__] |
singledispatch(func) |
Single-dispatch generic function decorator. [extrait de singledispatch.__doc__] |
total_ordering(cls) |
Class decorator that fills in missing ordering methods [extrait de total_ordering.__doc__] |
update_wrapper(wrapper, wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',)) |
Update a wrapper function to look like the wrapped function [extrait de update_wrapper.__doc__] |
wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',)) |
Decorator factory to apply update_wrapper() to a wrapper function [extrait de wraps.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :