summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorChristopher Chavez <chrischavez@gmx.us>2023-12-20 14:13:44 (GMT)
committerGitHub <noreply@github.com>2023-12-20 14:13:44 (GMT)
commita545a86ec64fbab325db101bdd8964f524a89790 (patch)
treed0add398c3670db433ac223323208d3441c5df0c /Include/internal
parent57b7e52790ae56309832497a1ce17e3e731b920e (diff)
downloadcpython-a545a86ec64fbab325db101bdd8964f524a89790.zip
cpython-a545a86ec64fbab325db101bdd8964f524a89790.tar.gz
cpython-a545a86ec64fbab325db101bdd8964f524a89790.tar.bz2
gh-111178: Make slot functions in typeobject.c have compatible types (GH-112752)
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_typeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_typeobject.h b/Include/internal/pycore_typeobject.h
index f983de5..c03c3d7 100644
--- a/Include/internal/pycore_typeobject.h
+++ b/Include/internal/pycore_typeobject.h
@@ -133,7 +133,7 @@ _PyType_IsReady(PyTypeObject *type)
extern PyObject* _Py_type_getattro_impl(PyTypeObject *type, PyObject *name,
int *suppress_missing_attribute);
-extern PyObject* _Py_type_getattro(PyTypeObject *type, PyObject *name);
+extern PyObject* _Py_type_getattro(PyObject *type, PyObject *name);
extern PyObject* _Py_BaseObject_RichCompare(PyObject* self, PyObject* other, int op);