diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-07-08 08:19:25 (GMT) |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-07-08 08:19:25 (GMT) |
commit | 762f93ff2efd6b7ef0177cad57939c0ab2002eac (patch) | |
tree | 4811b08fa9342c3b2575de7e7c1030d1d5eea8a0 /Objects/abstract.c | |
parent | 38f44b4a4adc37e8f5f8971917d8b3145f351a56 (diff) | |
download | cpython-762f93ff2efd6b7ef0177cad57939c0ab2002eac.zip cpython-762f93ff2efd6b7ef0177cad57939c0ab2002eac.tar.gz cpython-762f93ff2efd6b7ef0177cad57939c0ab2002eac.tar.bz2 |
bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index 86178a7..db1c306 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2221,7 +2221,7 @@ method_output_as_list(PyObject *o, _Py_Identifier *meth_id) PyObject *it, *result, *meth_output; assert(o != NULL); - meth_output = _PyObject_CallMethodId(o, meth_id, NULL); + meth_output = _PyObject_CallMethodIdNoArgs(o, meth_id); if (meth_output == NULL || PyList_CheckExact(meth_output)) { return meth_output; } |