Commits

Amaury Forgeot d'Arc committed a86af99

Rename nb_nonzero to nb_bool

  • Participants
  • Parent commits a256017
  • Branches py3k

Comments (0)

Files changed (2)

File pypy/module/cpyext/include/object.h

 	unaryfunc nb_negative;
 	unaryfunc nb_positive;
 	unaryfunc nb_absolute;
-	inquiry nb_nonzero;
+	inquiry nb_bool;
 	unaryfunc nb_invert;
 	binaryfunc nb_lshift;
 	binaryfunc nb_rshift;

File pypy/module/cpyext/typeobjectdefs.py

     ("nb_negative", unaryfunc),
     ("nb_positive", unaryfunc),
     ("nb_absolute", unaryfunc),
-    ("nb_nonzero", inquiry),
+    ("nb_bool", inquiry),
     ("nb_invert", unaryfunc),
     ("nb_lshift", binaryfunc),
     ("nb_rshift", binaryfunc),