mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Add missing NULL return value.
This commit is contained in:
parent
6a880a8313
commit
b9e8dcf2e0
1 changed files with 1 additions and 1 deletions
|
|
@ -4995,7 +4995,7 @@ PyInit__socket(void)
|
|||
PyObject *tmp;
|
||||
tmp = PyLong_FromUnsignedLong(SIO_RCVALL);
|
||||
if (tmp == NULL)
|
||||
return;
|
||||
return NULL;
|
||||
PyModule_AddObject(m, "SIO_RCVALL", tmp);
|
||||
}
|
||||
PyModule_AddIntConstant(m, "RCVALL_OFF", RCVALL_OFF);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue