diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 11:21:31 -0400 |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-28 11:21:31 -0400 |
| commit | 6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c (patch) | |
| tree | 8ba6d779c64ceadd00855f8d7cb51619dc4681fe /Include | |
| parent | 6076a385e3f37ba15489989549c96f231e60056b (diff) | |
| download | cpython-git-6ef059097cdfc9ee4c5a5292db5c9d5a5be2f97c.tar.gz | |
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 e1734386c6..8afcbe96dc 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 { |
