Commits

Fredrik Lundh  committed 1dc5657

return 0 on misses, not -1.

  • Participants
  • Parent commits b8bef5a
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Objects/unicodeobject.c

         if (set[i] == chr)
             return 1;
 
-    return -1;
+    return 0;
 }
 
 #define BLOOM_MEMBER(mask, chr, set, setlen)\