]> granicus.if.org Git - python/commit
Address a minor Coverity warning re: unchecked PyArg_ParseTuple calls
authorGregory P. Smith <greg@krypto.org>
Wed, 18 Jan 2017 00:54:56 +0000 (16:54 -0800)
committerGregory P. Smith <greg@krypto.org>
Wed, 18 Jan 2017 00:54:56 +0000 (16:54 -0800)
commit8128d5a491fdacd40b4cc0dcf54ef8c61f264fb8
treeed4a43b247435d46529533f5ba8bc3a603d23f1c
parentaeaf29460889cca7258c19dc942a04294abc3353
Address a minor Coverity warning re: unchecked PyArg_ParseTuple calls
in socket.sendto().  A PyErr_Occurred() check was happening later, but
it is better to just use the return value and not call PyErr_Occurred().
Modules/socketmodule.c