mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
add reduce and partial to __all__
This commit is contained in:
parent
c2d76fd339
commit
1017ae5253
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
# See C source code for _functools credits/copyright
|
||||
|
||||
__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
|
||||
'total_ordering', 'cmp_to_key', 'lru_cache']
|
||||
'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce', 'partial']
|
||||
|
||||
from _functools import partial, reduce
|
||||
from collections import OrderedDict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue