mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Remove more cruft leftover from nb_coerce. Rename nb_coerce to
nb_reserved.
This commit is contained in:
parent
8ce81f767a
commit
16c7075164
15 changed files with 20 additions and 66 deletions
|
|
@ -133,7 +133,6 @@ typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
|
|||
typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
|
||||
typedef int (*inquiry)(PyObject *);
|
||||
typedef Py_ssize_t (*lenfunc)(PyObject *);
|
||||
typedef int (*coercion)(PyObject **, PyObject **);
|
||||
typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
|
||||
typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
|
||||
typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
|
||||
|
|
@ -222,7 +221,7 @@ typedef struct {
|
|||
binaryfunc nb_and;
|
||||
binaryfunc nb_xor;
|
||||
binaryfunc nb_or;
|
||||
coercion nb_coerce;
|
||||
int nb_reserved; /* unused, used to be nb_coerce */
|
||||
unaryfunc nb_int;
|
||||
unaryfunc nb_long;
|
||||
unaryfunc nb_float;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue