Added divmod and abs methods for numbers

This commit is contained in:
Guido van Rossum 1991-05-05 20:11:43 +00:00
parent 05ab111b1d
commit 97ad2d80e5
1 changed files with 2 additions and 0 deletions

View File

@ -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 {