mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Fix various minor errors in passing arguments to
PyArg_ParseTuple.
This commit is contained in:
parent
aac1316222
commit
a811c38d8e
4 changed files with 27 additions and 16 deletions
|
@ -317,7 +317,7 @@ PySocket_ssl(PyObject *self, PyObject *args)
|
|||
|
||||
if (!PyArg_ParseTuple(args, "O!|zz:ssl",
|
||||
PySocketModule.Sock_Type,
|
||||
(PyObject*)&Sock,
|
||||
&Sock,
|
||||
&key_file, &cert_file))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue