Staging
v0.8.1
https://github.com/python/cpython
Revision 9bdc40ee3e0d886fb62b5334e8a88c1fe9460ba0 authored by Pablo Galindo on 30 November 2020, 19:42:38 UTC, committed by GitHub on 30 November 2020, 19:42:38 UTC
1 parent bcc9579
Raw File
Tip revision: 9bdc40ee3e0d886fb62b5334e8a88c1fe9460ba0 authored by Pablo Galindo on 30 November 2020, 19:42:38 UTC
Refactor the grammar to match the language specification docs (GH-23574)
Tip revision: 9bdc40e
genericaliasobject.h
// Implementation of PEP 585: support list[int] etc.
#ifndef Py_GENERICALIASOBJECT_H
#define Py_GENERICALIASOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *);
PyAPI_DATA(PyTypeObject) Py_GenericAliasType;

#ifdef __cplusplus
}
#endif
#endif /* !Py_GENERICALIASOBJECT_H */
back to top