mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-43770: _PyTypes_Init() inits _PyAnextAwaitable_Type (GH-25266)
* Rename PyAnextAwaitable_Type to _PyAnextAwaitable_Type. * Expose the type in the internal C API.
This commit is contained in:
parent
453074c8da
commit
b98eba5bc2
3 changed files with 6 additions and 2 deletions
|
|
@ -7,6 +7,9 @@ extern "C" {
|
|||
|
||||
PyAPI_DATA(PyTypeObject) PySeqIter_Type;
|
||||
PyAPI_DATA(PyTypeObject) PyCallIter_Type;
|
||||
#ifdef Py_BUILD_CORE
|
||||
extern PyTypeObject _PyAnextAwaitable_Type;
|
||||
#endif
|
||||
|
||||
#define PySeqIter_Check(op) Py_IS_TYPE(op, &PySeqIter_Type)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue