diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 16:50:23 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 16:50:23 (GMT) |
commit | b4e20bb5882b88c6cdd06e0779d8971c0f9b2082 (patch) | |
tree | a8f9c1e1cf708feb8405583285238287a49f6f87 /Objects | |
parent | b51813403f26304df64a818eae103aeed3550344 (diff) | |
download | cpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.zip cpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.tar.gz cpython-b4e20bb5882b88c6cdd06e0779d8971c0f9b2082.tar.bz2 |
Fix definition mismatch for type_is_subtype_base_chain.
Diffstat (limited to 'Objects')
-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 40a654b..482a7a5 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); |