Author: Manuel Jacob
Branch: remove-dict-smm
Changeset: r64094:823ae1c8fb82
Date: 2013-05-14 20:10 +0200
http://bitbucket.org/pypy/pypy/changeset/823ae1c8fb82/

Log:    Remove unnecessary imports.

diff --git a/pypy/objspace/std/dictmultiobject.py 
b/pypy/objspace/std/dictmultiobject.py
--- a/pypy/objspace/std/dictmultiobject.py
+++ b/pypy/objspace/std/dictmultiobject.py
@@ -1148,7 +1148,6 @@
 register_all(vars(), globals())
 
 def descr_fromkeys(space, w_type, w_keys, w_fill=None):
-    from pypy.objspace.std.dictmultiobject import W_DictMultiObject
     if w_fill is None:
         w_fill = space.w_None
     if space.is_w(w_type, space.w_dict):
@@ -1205,7 +1204,6 @@
 # ____________________________________________________________
 
 def descr__new__(space, w_dicttype, __args__):
-    from pypy.objspace.std.dictmultiobject import W_DictMultiObject
     w_obj = W_DictMultiObject.allocate_and_init_instance(space, w_dicttype)
     return w_obj
 
@@ -1265,7 +1263,6 @@
 # ____________________________________________________________
 
 def descr_dictiter__length_hint__(space, w_self):
-    from pypy.objspace.std.dictmultiobject import W_BaseDictMultiIterObject
     assert isinstance(w_self, W_BaseDictMultiIterObject)
     return space.wrap(w_self.iteratorimplementation.length())
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to