1// Implementation of PEP 585: support list[int] etc.
2#ifndef Py_GENERICALIASOBJECT_H
3#define Py_GENERICALIASOBJECT_H
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *);
9PyAPI_DATA(PyTypeObject) Py_GenericAliasType;
10
11#ifdef __cplusplus
12}
13#endif
14#endif /* !Py_GENERICALIASOBJECT_H */
15

source code of include/python3.10/genericaliasobject.h