diff options
author | Victor Stinner <vstinner@python.org> | 2022-03-21 01:15:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 01:15:32 +0100 |
commit | 332b04bac35cd7305c60da2d5733940dc089949a (patch) | |
tree | a546b206bbbda8fe576e1b25ec2c609e20d1faf9 /Python/sysmodule.c | |
parent | 9d1c4d69dbc800ac344565119337fcf490cdc800 (diff) | |
download | cpython-332b04bac35cd7305c60da2d5733940dc089949a.tar.gz cpython-332b04bac35cd7305c60da2d5733940dc089949a.zip |
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/sysmodule.c')
-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 99540b09c1f..ae6d7c2955f 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() |