mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)
This commit is contained in:
parent
38f44b4a4a
commit
762f93ff2e
37 changed files with 154 additions and 132 deletions
|
|
@ -455,7 +455,7 @@ proxy_checkref(PyWeakReference *proxy)
|
|||
method(PyObject *proxy, PyObject *Py_UNUSED(ignored)) { \
|
||||
_Py_IDENTIFIER(special); \
|
||||
UNWRAP(proxy); \
|
||||
return _PyObject_CallMethodId(proxy, &PyId_##special, NULL); \
|
||||
return _PyObject_CallMethodIdNoArgs(proxy, &PyId_##special); \
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue