diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 08:50:23 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 08:50:23 -0800 |
commit | a9df292e7370921fdd8df913d920402b41942e37 (patch) | |
tree | 88b3d5ae1c346224da462949334f747e70633f09 | |
parent | a5b2141ece7c608016dfa49f7a67e4a1b43aeea8 (diff) | |
download | cpython-a9df292e7370921fdd8df913d920402b41942e37.tar.gz |
Fix definition mismatch for type_is_subtype_base_chain.
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 40a654b136..482a7a5267 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); |