summaryrefslogtreecommitdiff
path: root/Doc/library/functools.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/functools.rst')
-rw-r--r--Doc/library/functools.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index 7129746f92..20bbe54956 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -36,6 +36,7 @@ The :mod:`functools` module defines the following functions:
.. versionadded:: 3.2
+
.. decorator:: lru_cache(maxsize)
Decorator to wrap a function with a memoizing callable that saves up to the
@@ -67,6 +68,7 @@ The :mod:`functools` module defines the following functions:
.. versionadded:: 3.2
+
.. decorator:: total_ordering
Given a class defining one or more rich comparison ordering methods, this
@@ -90,6 +92,7 @@ The :mod:`functools` module defines the following functions:
.. versionadded:: 3.2
+
.. function:: partial(func, *args, **keywords)
Return a new :class:`partial` object which when called will behave like *func*