diff options
author | Guido van Rossum <guido@python.org> | 2007-08-27 20:51:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-27 20:51:00 (GMT) |
commit | d51b579c51d393eb308cd486ca6ca610d12b9d48 (patch) | |
tree | 7c0b95bee6c37d6dd0603930835a6509aa8c0609 /Lib/functools.py | |
parent | 8ee23bbe7cec658d0dfc9f51f37fe392d98acafc (diff) | |
download | cpython-d51b579c51d393eb308cd486ca6ca610d12b9d48.zip cpython-d51b579c51d393eb308cd486ca6ca610d12b9d48.tar.gz cpython-d51b579c51d393eb308cd486ca6ca610d12b9d48.tar.bz2 |
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |