mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
socket.sendto(): exit directly after setting the error
Dummy change to avoid a false positive with the Clang Static Analyzer.
This commit is contained in:
parent
9a2261a372
commit
77af172914
1 changed files with 5 additions and 4 deletions
|
@ -2782,6 +2782,7 @@ sock_sendto(PySocketSockObject *s, PyObject *args)
|
|||
PyErr_Format(PyExc_TypeError,
|
||||
"sendto() takes 2 or 3 arguments (%d given)",
|
||||
arglen);
|
||||
return NULL;
|
||||
}
|
||||
if (PyErr_Occurred())
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue