From 0d57caa2678fcb5c08a247a9ed17c73b311c7c00 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 4 Apr 2010 07:33:46 +0000 Subject: [PATCH] Documentation nit --- Doc/library/functools.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst index 8f9528a1573..6dc9f0abed8 100644 --- a/Doc/library/functools.rst +++ b/Doc/library/functools.rst @@ -38,6 +38,8 @@ The :mod:`functools` module defines the following functions: return ((self.lastname.lower(), self.firstname.lower()) < (other.lastname.lower(), other.firstname.lower())) + .. versionadded:: 2.7 + .. function:: reduce(function, iterable[, initializer]) This is the same function as :func:`reduce`. It is made available in this module