mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Added nonzero to number methods
This commit is contained in:
parent
23d6f0e8e7
commit
cf7423ac8f
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ typedef struct {
|
|||
object *(*nb_negative) FPROTO((object *));
|
||||
object *(*nb_positive) FPROTO((object *));
|
||||
object *(*nb_absolute) FPROTO((object *));
|
||||
int (*nb_nonzero) FPROTO((object *));
|
||||
} number_methods;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue