]> granicus.if.org Git - python/commitdiff
Remove unused imports
authorRaymond Hettinger <python@rcn.com>
Sun, 15 Aug 2010 03:35:24 +0000 (03:35 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 15 Aug 2010 03:35:24 +0000 (03:35 +0000)
Lib/functools.py

index efc533cf7d1a47f0ec0bdbb834b1b32bec8961b2..0ac83d2bbf3ce9a161335509c162bcdbdb62f48b 100644 (file)
@@ -12,9 +12,7 @@ __all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
            'total_ordering', 'cmp_to_key', 'lfu_cache', 'lru_cache']
 
 from _functools import partial, reduce
-from collections import OrderedDict, Counter
-from heapq import nsmallest
-from operator import itemgetter
+from collections import OrderedDict
 try:
     from _thread import allocate_lock as Lock
 except: