Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
allendowney
GitHub Repository: allendowney/cpython
Path: blob/main/Include/genericaliasobject.h
12 views
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
16