mirror of https://github.com/python/cpython
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).
This commit is contained in:
parent
8ee23bbe7c
commit
d51b579c51
|
@ -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…
Reference in New Issue