diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 15:22:41 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 15:22:41 (GMT) |
commit | ac0bffb96207182f6566e382b7d053a471c2d1fa (patch) | |
tree | 135595486ee3813d5e551c95f8bb532f78b6199b /Include | |
parent | ee941b0278d6ea69d01f84e2c69cb8024e8a01bd (diff) | |
parent | 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (diff) | |
download | cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.zip cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.gz cpython-ac0bffb96207182f6566e382b7d053a471c2d1fa.tar.bz2 |
Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Include/object.h b/Include/object.h index e173438..8afcbe9 100644 --- a/Include/object.h +++ b/Include/object.h @@ -173,9 +173,6 @@ typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t); typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *); typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *); typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *); -typedef PyObject *(*getawaitablefunc) (PyObject *); -typedef PyObject *(*getaiterfunc) (PyObject *); -typedef PyObject *(*aiternextfunc) (PyObject *); #ifndef Py_LIMITED_API /* buffer interface */ @@ -305,9 +302,9 @@ typedef struct { } PyMappingMethods; typedef struct { - getawaitablefunc am_await; - getaiterfunc am_aiter; - aiternextfunc am_anext; + unaryfunc am_await; + unaryfunc am_aiter; + unaryfunc am_anext; } PyAsyncMethods; typedef struct { |