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