[Python-checkins] r84695 - python/branches/py3k/Lib/functools.py

benjamin.peterson python-checkins at python.org
Sat Sep 11 01:35:52 CEST 2010


Author: benjamin.peterson
Date: Sat Sep 11 01:35:52 2010
New Revision: 84695

Log:
add reduce and partial to __all__

Modified:
   python/branches/py3k/Lib/functools.py

Modified: python/branches/py3k/Lib/functools.py
==============================================================================
--- python/branches/py3k/Lib/functools.py	(original)
+++ python/branches/py3k/Lib/functools.py	Sat Sep 11 01:35:52 2010
@@ -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


More information about the Python-checkins mailing list