diff options
author | Vladimir Matveev <vladima@fb.com> | 2020-10-12 19:10:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 19:10:42 (GMT) |
commit | 24a54c0bd48d9f6f1a1289ca57afb381bc4b280e (patch) | |
tree | b477987c2774d4cc41a42c85399c22cde0880305 /Include/genobject.h | |
parent | abe244c458f2b1a727af4d2a56f71813e501bcb4 (diff) | |
download | cpython-24a54c0bd48d9f6f1a1289ca57afb381bc4b280e.zip cpython-24a54c0bd48d9f6f1a1289ca57afb381bc4b280e.tar.gz cpython-24a54c0bd48d9f6f1a1289ca57afb381bc4b280e.tar.bz2 |
Delete PyGen_Send (#22663)
Diffstat (limited to 'Include/genobject.h')
-rw-r--r-- | Include/genobject.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Include/genobject.h b/Include/genobject.h index e719b25..e965334 100644 --- a/Include/genobject.h +++ b/Include/genobject.h @@ -45,15 +45,6 @@ PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **); PyObject *_PyGen_yf(PyGenObject *); PyAPI_FUNC(void) _PyGen_Finalize(PyObject *self); -/* Sends the value into the generator or the coroutine. Returns: - - PYGEN_RETURN (0) if generator has returned. - 'result' parameter is filled with return value - - PYGEN_ERROR (-1) if exception was raised. - 'result' parameter is NULL - - PYGEN_NEXT (1) if generator has yielded. - 'result' parameter is filled with yielded value. */ -PyAPI_FUNC(PySendResult) PyGen_Send(PyGenObject *, PyObject *, PyObject **); - #ifndef Py_LIMITED_API typedef struct { _PyGenObject_HEAD(cr) |