diff options
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Include/object.h b/Include/object.h index 93062889a75..e348d61d1b0 100644 --- a/Include/object.h +++ b/Include/object.h @@ -275,6 +275,9 @@ typedef struct { binaryfunc nb_inplace_true_divide; unaryfunc nb_index; + + binaryfunc nb_matrix_multiply; + binaryfunc nb_inplace_matrix_multiply; } PyNumberMethods; typedef struct { @@ -572,13 +575,6 @@ PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *); PyAPI_FUNC(int) Py_ReprEnter(PyObject *); PyAPI_FUNC(void) Py_ReprLeave(PyObject *); -#ifndef Py_LIMITED_API -/* Helper for passing objects to printf and the like. - Leaks refcounts. Don't use it! -*/ -#define PyObject_REPR(obj) PyUnicode_AsUTF8(PyObject_Repr(obj)) -#endif - /* Flag bits for printing: */ #define Py_PRINT_RAW 1 /* No string quotes etc. */ |