From: Guido van Rossum Date: Mon, 27 Aug 2007 20:51:00 +0000 (+0000) Subject: Patch # 1739906 by Christian Heimes -- add reduce to functools (importing X-Git-Tag: v2.6a1~1404 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d51b579c51d393eb308cd486ca6ca610d12b9d48;p=thirdparty%2FPython%2Fcpython.git Patch # 1739906 by Christian Heimes -- add reduce to functools (importing it from __builtin__). --- diff --git a/Lib/functools.py b/Lib/functools.py index bb13713a9c86..30e1d24fd284 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -8,6 +8,7 @@ # See C source code for _functools credits/copyright from _functools import partial +from __builtin__ import reduce # update_wrapper() and wraps() are tools to help write # wrapper functions that can handle naive introspection