1. Tobias Pape
  2. pypy

Commits

Manuel Jacob  committed dff1263

Fix translation (?).

  • Participants
  • Parent commits d0d289b
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_cffi_backend/misc.py

View file
 ovf_msg = "long too big to convert"
 
 def is_zero(space, w_ob):
-    return ((space.isinstance_w(w_ob, space.w_int) or
-             space.isinstance_w(w_ob, space.w_long))
-            and not space.is_true(w_ob))
+    return space.isinstance_w(w_ob, space.w_int) and not space.is_true(w_ob)
 
 # ____________________________________________________________