mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).
This commit is contained in:
parent
8ee23bbe7c
commit
d51b579c51
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue