[Python-checkins] cpython (3.4): 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/c5f1ec12634d
changeset:   94540:c5f1ec12634d
branch:      3.4
parent:      94536:05153851d1d6
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri Feb 06 08:50:23 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
@@ -540,7 +540,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