mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Added divmod and abs methods for numbers
This commit is contained in:
parent
05ab111b1d
commit
97ad2d80e5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user