[Python-checkins] cpython (merge 3.4 -> default): Fix definition mismatch for type_is_subtype_base_chain.
steve.dower
python-checkins at python.org
Fri Feb 6 17:51:54 CET 2015
https://hg.python.org/cpython/rev/3a8d67d208e0
changeset: 94541:3a8d67d208e0
parent: 94539:367f5e98ffbb
parent: 94540:c5f1ec12634d
user: Steve Dower <steve.dower at microsoft.com>
date: Fri Feb 06 08:51:26 2015 -0800
summary:
Fix definition mismatch for type_is_subtype_base_chain.
files:
Objects/typeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -565,7 +565,7 @@
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);
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list