1. Keisuke Takahashi
  2. pypy

Commits

Armin Rigo  committed 2e8c1b2

Bug fix. I think it's not possible to run this function from a test
right now.

  • Participants
  • Parent commits a1d28b2
  • Branches post-release-1.5

Comments (0)

Files changed (1)

File pypy/objspace/std/setobject.py

View file
  • Ignore whitespace
 
 def ne__Set_settypedef(space, w_left, w_other):
     rd = make_setdata_from_w_iterable(space, w_other)
-    return space.wrap(_is_eq(w_left.setdata, rd))
+    return space.wrap(not _is_eq(w_left.setdata, rd))
 
 ne__Set_frozensettypedef = ne__Set_settypedef
 ne__Frozenset_settypedef = ne__Set_settypedef