diff --git a/Include/internal/pycore_typevarobject.h b/Include/internal/pycore_typevarobject.h index e8814b8ebd9177..4d7556e68cdaee 100644 --- a/Include/internal/pycore_typevarobject.h +++ b/Include/internal/pycore_typevarobject.h @@ -16,7 +16,7 @@ extern PyObject *_Py_subscript_generic(PyThreadState *, PyObject *); extern PyObject *_Py_set_typeparam_default(PyThreadState *, PyObject *, PyObject *); extern int _Py_initialize_generic(PyInterpreterState *); extern void _Py_clear_generic_types(PyInterpreterState *); -extern int _Py_typing_type_repr(_PyUnicodeWriter *, PyObject *); +extern int _Py_typing_type_repr(PyUnicodeWriter *, PyObject *); extern PyTypeObject _PyTypeAlias_Type; extern PyTypeObject _PyNoDefault_Type; diff --git a/Objects/genericaliasobject.c b/Objects/genericaliasobject.c index e2900878aa7d7e..64b4e2645cbaee 100644 --- a/Objects/genericaliasobject.c +++ b/Objects/genericaliasobject.c @@ -52,7 +52,7 @@ ga_traverse(PyObject *self, visitproc visit, void *arg) } static int -ga_repr_items_list(_PyUnicodeWriter *writer, PyObject *p) +ga_repr_items_list(PyUnicodeWriter *writer, PyObject *p) { assert(PyList_CheckExact(p)); diff --git a/Objects/typevarobject.c b/Objects/typevarobject.c index 194e8b041c7707..fb1f260571b582 100644 --- a/Objects/typevarobject.c +++ b/Objects/typevarobject.c @@ -245,7 +245,7 @@ PyType_Spec constevaluator_spec = { }; int -_Py_typing_type_repr(_PyUnicodeWriter *writer, PyObject *p) +_Py_typing_type_repr(PyUnicodeWriter *writer, PyObject *p) { PyObject *qualname = NULL; PyObject *module = NULL;