diff options
author | Guido van Rossum <guido@python.org> | 1991-05-14 12:08:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-14 12:08:10 (GMT) |
commit | cf7423ac8fb8524ace6f6a6f204dc017d481c653 (patch) | |
tree | 607ccc0124e12c2e72b57a3ef7386ce13e20a4c0 | |
parent | 23d6f0e8e7725bcec50f5052709c8e241bc64eda (diff) | |
download | cpython-cf7423ac8fb8524ace6f6a6f204dc017d481c653.zip cpython-cf7423ac8fb8524ace6f6a6f204dc017d481c653.tar.gz cpython-cf7423ac8fb8524ace6f6a6f204dc017d481c653.tar.bz2 |
Added nonzero to number methods
-rw-r--r-- | Include/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index ac72529..5a93000 100644 --- a/Include/object.h +++ b/Include/object.h @@ -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 { |