commit | cf7423ac8fb8524ace6f6a6f204dc017d481c653 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 14 12:08:10 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue May 14 12:08:10 1991 +0000 |
tree | 607ccc0124e12c2e72b57a3ef7386ce13e20a4c0 | |
parent | 23d6f0e8e7725bcec50f5052709c8e241bc64eda [diff] |
Added nonzero to number methods
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 @@ object *(*nb_negative) FPROTO((object *)); object *(*nb_positive) FPROTO((object *)); object *(*nb_absolute) FPROTO((object *)); + int (*nb_nonzero) FPROTO((object *)); } number_methods; typedef struct {