[Python-checkins] cpython (2.7): Remove unused imports

raymond.hettinger python-checkins at python.org
Sun Apr 24 03:37:45 CEST 2011


http://hg.python.org/cpython/rev/ad89231ee568
changeset:   69537:ad89231ee568
branch:      2.7
user:        Raymond Hettinger <python at rcn.com>
date:        Sat Apr 23 18:37:37 2011 -0700
summary:
  Remove unused imports

files:
  Lib/collections.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/collections.py b/Lib/collections.py
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -6,12 +6,12 @@
 __all__ += _abcoll.__all__
 
 from _collections import deque, defaultdict
-from operator import itemgetter as _itemgetter, eq as _eq
+from operator import itemgetter as _itemgetter
 from keyword import iskeyword as _iskeyword
 import sys as _sys
 import heapq as _heapq
-from itertools import repeat as _repeat, chain as _chain, starmap as _starmap, \
-                      ifilter as _ifilter, imap as _imap
+from itertools import repeat as _repeat, chain as _chain, starmap as _starmap
+
 try:
     from thread import get_ident as _get_ident
 except ImportError:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list