diff options
author | Victor Stinner <vstinner@python.org> | 2022-03-21 00:15:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 00:15:32 (GMT) |
commit | 332b04bac35cd7305c60da2d5733940dc089949a (patch) | |
tree | a546b206bbbda8fe576e1b25ec2c609e20d1faf9 /Python | |
parent | 9d1c4d69dbc800ac344565119337fcf490cdc800 (diff) | |
download | cpython-332b04bac35cd7305c60da2d5733940dc089949a.zip cpython-332b04bac35cd7305c60da2d5733940dc089949a.tar.gz cpython-332b04bac35cd7305c60da2d5733940dc089949a.tar.bz2 |
bpo-46850: Remove _PyEval_SetAsyncGenFinalizer() (GH-32017)
Remove the following private undocumented functions from the C API:
* _PyEval_GetAsyncGenFirstiter()
* _PyEval_GetAsyncGenFinalizer()
* _PyEval_SetAsyncGenFirstiter()
* _PyEval_SetAsyncGenFinalizer()
Call the public sys.get_asyncgen_hooks() and sys.set_asyncgen_hooks()
functions instead.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 99540b0..ae6d7c2 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -16,7 +16,7 @@ Data members: #include "Python.h" #include "pycore_call.h" // _PyObject_CallNoArgs() -#include "pycore_ceval.h" // _Py_RecursionLimitLowerWaterMark() +#include "pycore_ceval.h" // _PyEval_SetAsyncGenFinalizer() #include "pycore_code.h" // _Py_QuickenedCount #include "pycore_frame.h" // _PyInterpreterFrame #include "pycore_initconfig.h" // _PyStatus_EXCEPTION() |