Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 232:af2e64007698 legacy-trunk
Added divmod and abs methods for numbers
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 05 May 1991 20:11:43 +0000 |
| parents | 853b736a6a9e |
| children | 5f7c24b3953b |
line wrap: on
line diff
--- a/Include/object.h Sun May 05 20:10:41 1991 +0000 +++ b/Include/object.h Sun May 05 20:11:43 1991 +0000 @@ -130,9 +130,11 @@ object *(*nb_multiply) FPROTO((object *, object *)); object *(*nb_divide) FPROTO((object *, object *)); object *(*nb_remainder) FPROTO((object *, object *)); + object *(*nb_divmod) FPROTO((object *, object *)); object *(*nb_power) FPROTO((object *, object *)); object *(*nb_negative) FPROTO((object *)); object *(*nb_positive) FPROTO((object *)); + object *(*nb_absolute) FPROTO((object *)); } number_methods; typedef struct {
