From b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 8 Apr 2021 09:58:15 +0200 Subject: bpo-43770: _PyTypes_Init() inits _PyAnextAwaitable_Type (GH-25266) * Rename PyAnextAwaitable_Type to _PyAnextAwaitable_Type. * Expose the type in the internal C API. --- Objects/object.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Objects/object.c') diff --git a/Objects/object.c b/Objects/object.c index ceb0990dbc..1224160dd5 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1833,6 +1833,7 @@ _PyTypes_Init(void) INIT_TYPE(PyUnicode_Type); INIT_TYPE(PyWrapperDescr_Type); INIT_TYPE(Py_GenericAliasType); + INIT_TYPE(_PyAnextAwaitable_Type); INIT_TYPE(_PyAsyncGenASend_Type); INIT_TYPE(_PyAsyncGenAThrow_Type); INIT_TYPE(_PyAsyncGenWrappedValue_Type); -- cgit v1.2.1