summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-27 20:51:00 +0000
committerGuido van Rossum <guido@python.org>2007-08-27 20:51:00 +0000
commitd51b579c51d393eb308cd486ca6ca610d12b9d48 (patch)
tree7c0b95bee6c37d6dd0603930835a6509aa8c0609
parent8ee23bbe7cec658d0dfc9f51f37fe392d98acafc (diff)
downloadcpython-git-d51b579c51d393eb308cd486ca6ca610d12b9d48.tar.gz
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).
-rw-r--r--Lib/functools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index bb13713a9c..30e1d24fd2 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