genericaliasobject.h 334 B

1234567891011121314
  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. PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *);
  8. PyAPI_DATA(PyTypeObject) Py_GenericAliasType;
  9. #ifdef __cplusplus
  10. }
  11. #endif
  12. #endif /* !Py_GENERICALIASOBJECT_H */