diff options
author | Guido van Rossum <guido@python.org> | 2006-08-26 20:49:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-26 20:49:04 (GMT) |
commit | 0919a1a07b061ef9a8a94cc1d92c1895b00967cb (patch) | |
tree | 812681b0b579aa36b1117b192c016b7f90ada6b0 /Lib/functools.py | |
parent | 6a2a2a08329567ea41f4f073cb43e487f83872c7 (diff) | |
download | cpython-0919a1a07b061ef9a8a94cc1d92c1895b00967cb.zip cpython-0919a1a07b061ef9a8a94cc1d92c1895b00967cb.tar.gz cpython-0919a1a07b061ef9a8a94cc1d92c1895b00967cb.tar.bz2 |
Part of SF patch #1513870 (the still relevant part) -- add reduce() to
functools, and adjust docs etc.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index 8783f08..12a527e 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -7,7 +7,7 @@ # Copyright (C) 2006 Python Software Foundation. # See C source code for _functools credits/copyright -from _functools import partial +from _functools import partial, reduce # update_wrapper() and wraps() are tools to help write # wrapper functions that can handle naive introspection |