commit | d51b579c51d393eb308cd486ca6ca610d12b9d48 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 27 20:51:00 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 27 20:51:00 2007 +0000 |
tree | 7c0b95bee6c37d6dd0603930835a6509aa8c0609 | |
parent | 8ee23bbe7cec658d0dfc9f51f37fe392d98acafc [diff] [blame] |
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing it from __builtin__).
diff --git a/Lib/functools.py b/Lib/functools.py index bb13713..30e1d24 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