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