Part of SF patch #1513870 (the still relevant part) -- add reduce() to

functools, and adjust docs etc.
This commit is contained in:
Guido van Rossum 2006-08-26 20:49:04 +00:00
parent 6a2a2a0832
commit 0919a1a07b
11 changed files with 168 additions and 78 deletions

View file

@ -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