Author: Philip Jenvey <[email protected]>
Branch: remove-intlong-smm
Changeset: r67333:542cae2a1bc7
Date: 2013-10-11 16:27 -0700
http://bitbucket.org/pypy/pypy/changeset/542cae2a1bc7/

Log:    whitespace/unneeded imports

diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py
--- a/pypy/objspace/std/intobject.py
+++ b/pypy/objspace/std/intobject.py
@@ -489,7 +489,6 @@
 
 def wrapint(space, x):
     if space.config.objspace.std.withprebuiltint:
-        from pypy.objspace.std.intobject import W_IntObject
         lower = space.config.objspace.std.prebuiltintfrom
         upper =  space.config.objspace.std.prebuiltintto
         # use r_uint to perform a single comparison (this whole function
@@ -507,7 +506,6 @@
         w_res.intval = x
         return w_res
     else:
-        from pypy.objspace.std.intobject import W_IntObject
         return W_IntObject(x)
 
 # ____________________________________________________________
@@ -534,9 +532,8 @@
                              space.wrap(e.msg))
     return space.newlong_from_rbigint(bigint)
 
-@unwrap_spec(w_x = WrappedDefault(0))
+@unwrap_spec(w_x=WrappedDefault(0))
 def descr__new__(space, w_inttype, w_x, w_base=None):
-    from pypy.objspace.std.intobject import W_IntObject
     w_longval = None
     w_value = w_x     # 'x' is the keyword argument name in CPython
     value = 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to