Patch # 1739906 by Christian Heimes -- add reduce to functools (importing

it from __builtin__).
This commit is contained in:
Guido van Rossum 2007-08-27 20:51:00 +00:00
parent 8ee23bbe7c
commit d51b579c51
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
# See C source code for _functools credits/copyright # See C source code for _functools credits/copyright
from _functools import partial from _functools import partial
from __builtin__ import reduce
# update_wrapper() and wraps() are tools to help write # update_wrapper() and wraps() are tools to help write
# wrapper functions that can handle naive introspection # wrapper functions that can handle naive introspection