From b4e20bb5882b88c6cdd06e0779d8971c0f9b2082 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 6 Feb 2015 08:50:23 -0800 Subject: [PATCH] Fix definition mismatch for type_is_subtype_base_chain. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 40a654b136b..482a7a5267f 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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);