diff options
author | Guido van Rossum <guido@python.org> | 1991-05-05 20:11:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-05 20:11:43 (GMT) |
commit | 97ad2d80e515f36492487503ea99f25db14fb9d3 (patch) | |
tree | b1a5bdae32b96eb63a263fadade074b452241c29 /Include/object.h | |
parent | 05ab111b1d431fc848966627b395afa71fb5758e (diff) | |
download | cpython-97ad2d80e515f36492487503ea99f25db14fb9d3.zip cpython-97ad2d80e515f36492487503ea99f25db14fb9d3.tar.gz cpython-97ad2d80e515f36492487503ea99f25db14fb9d3.tar.bz2 |
Added divmod and abs methods for numbers
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 9ea5260..ac72529 100644 --- a/Include/object.h +++ b/Include/object.h @@ -130,9 +130,11 @@ typedef struct { 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 { |