diff options
author | Victor Stinner <vstinner@python.org> | 2021-04-08 07:58:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 07:58:15 (GMT) |
commit | b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985 (patch) | |
tree | 42482add56f01de9dfef2cdbfac9cb212de698bf /Objects/object.c | |
parent | 453074c8daf996b1815a0cd2218f0dbf1801056c (diff) | |
download | cpython-b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985.zip cpython-b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985.tar.gz cpython-b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985.tar.bz2 |
bpo-43770: _PyTypes_Init() inits _PyAnextAwaitable_Type (GH-25266)
* Rename PyAnextAwaitable_Type to _PyAnextAwaitable_Type.
* Expose the type in the internal C API.
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c index ceb0990..1224160 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); |