diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-07-04 10:35:31 (GMT) |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-07-04 10:35:31 (GMT) |
commit | 7f41c8e0dd237d1f3f0a1d2ba2f3ee4e4bd400a7 (patch) | |
tree | 14cc12990e39950f635afd510f813324b8ee444e /Modules/_testcapimodule.c | |
parent | 196a530e00d88a138973bf9182e013937e293f97 (diff) | |
download | cpython-7f41c8e0dd237d1f3f0a1d2ba2f3ee4e4bd400a7.zip cpython-7f41c8e0dd237d1f3f0a1d2ba2f3ee4e4bd400a7.tar.gz cpython-7f41c8e0dd237d1f3f0a1d2ba2f3ee4e4bd400a7.tar.bz2 |
bpo-37493: use _PyObject_CallNoArg in more places (GH-14575)
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 07aadea..8f34e93 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -4907,7 +4907,7 @@ bad_get(PyObject *module, PyObject *const *args, Py_ssize_t nargs) return NULL; } - PyObject *res = PyObject_CallObject(cls, NULL); + PyObject *res = _PyObject_CallNoArg(cls); if (res == NULL) { return NULL; } |