From d51b579c51d393eb308cd486ca6ca610d12b9d48 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 27 Aug 2007 20:51:00 +0000 Subject: [PATCH] Patch # 1739906 by Christian Heimes -- add reduce to functools (importing it from __builtin__). --- Lib/functools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/functools.py b/Lib/functools.py index bb13713a9c8..30e1d24fd28 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