mirror of https://github.com/python/cpython
Fix definition mismatch for type_is_subtype_base_chain.
This commit is contained in:
parent
b51813403f
commit
b4e20bb588
|
@ -540,7 +540,7 @@ type_get_bases(PyTypeObject *type, void *context)
|
|||
|
||||
static PyTypeObject *best_base(PyObject *);
|
||||
static int mro_internal(PyTypeObject *, PyObject **);
|
||||
static int type_is_subtype_base_chain(PyTypeObject *, PyTypeObject *);
|
||||
Py_LOCAL_INLINE(int) type_is_subtype_base_chain(PyTypeObject *, PyTypeObject *);
|
||||
static int compatible_for_assignment(PyTypeObject *, PyTypeObject *, char *);
|
||||
static int add_subclass(PyTypeObject*, PyTypeObject*);
|
||||
static int add_all_subclasses(PyTypeObject *type, PyObject *bases);
|
||||
|
|
Loading…
Reference in New Issue