mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34: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
|
|
@ -1634,7 +1634,7 @@ select_epoll___exit___impl(pyEpoll_Object *self, PyObject *exc_type,
|
|||
{
|
||||
_Py_IDENTIFIER(close);
|
||||
|
||||
return _PyObject_CallMethodId((PyObject *)self, &PyId_close, NULL);
|
||||
return _PyObject_CallMethodIdNoArgs((PyObject *)self, &PyId_close);
|
||||
}
|
||||
|
||||
static PyGetSetDef pyepoll_getsetlist[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue