Author: Manuel Jacob Branch: remove-dict-smm Changeset: r64103:ab8e370f6198 Date: 2013-05-14 22:32 +0200 http://bitbucket.org/pypy/pypy/changeset/ab8e370f6198/
Log: Remove unused 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 @@ -1,8 +1,5 @@ from pypy.objspace.std.model import registerimplementation, W_Object -from pypy.objspace.std.register_all import register_all -from pypy.objspace.std.settype import set_typedef as settypedef from pypy.objspace.std.stdtypedef import StdTypeDef -from pypy.objspace.std.frozensettype import frozenset_typedef as frozensettypedef from pypy.interpreter import gateway from pypy.interpreter.error import OperationError, operationerrfmt from pypy.interpreter.mixedmodule import MixedModule @@ -466,7 +463,6 @@ # it ends up taking n**2 time, because the next() calls below # will take longer and longer. But all interesting strategies # provide a better one. - space = self.space iterator = self.iteritems(w_dict) w_key, w_value = iterator.next_item() self.delitem(w_dict, w_key) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit