diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-25 15:07:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 15:07:14 (GMT) |
commit | 8f2a337a80a283c66e1a4252839792fa229d2763 (patch) | |
tree | 0497a8e2db3ceeb7e5a4960a38dcf2c7310bfdd1 /Include/cpython/genobject.h | |
parent | 26aba295a9c1bcb0812fe44bd7e68ddd1d8a6828 (diff) | |
download | cpython-8f2a337a80a283c66e1a4252839792fa229d2763.zip cpython-8f2a337a80a283c66e1a4252839792fa229d2763.tar.gz cpython-8f2a337a80a283c66e1a4252839792fa229d2763.tar.bz2 |
bpo-45316: Move private functions to internal C API (GH-31579)
Move the unexported private functions to the internal C API:
* pycore_frame.h: _PyFrame_New_NoTrack()
* pycore_function.h: _PyFunction_GetVersionForCurrentState()
* pycore_genobject.h: _PyAsyncGenValueWrapperNew()
* pycore_genobject.h: _PyCoro_GetAwaitableIter()
* pycore_genobject.h: _PyGen_yf()
Diffstat (limited to 'Include/cpython/genobject.h')
-rw-r--r-- | Include/cpython/genobject.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/cpython/genobject.h b/Include/cpython/genobject.h index 838ca6c..b485ac6 100644 --- a/Include/cpython/genobject.h +++ b/Include/cpython/genobject.h @@ -45,7 +45,6 @@ PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *, PyObject *name, PyObject *qualname); PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *); PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **); -PyObject *_PyGen_yf(PyGenObject *); PyAPI_FUNC(void) _PyGen_Finalize(PyObject *self); @@ -59,7 +58,6 @@ PyAPI_DATA(PyTypeObject) PyCoro_Type; PyAPI_DATA(PyTypeObject) _PyCoroWrapper_Type; #define PyCoro_CheckExact(op) Py_IS_TYPE(op, &PyCoro_Type) -PyObject *_PyCoro_GetAwaitableIter(PyObject *o); PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *, PyObject *name, PyObject *qualname); @@ -80,8 +78,6 @@ PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *, #define PyAsyncGen_CheckExact(op) Py_IS_TYPE(op, &PyAsyncGen_Type) -PyObject *_PyAsyncGenValueWrapperNew(PyObject *); - #undef _PyGenObject_HEAD |