mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-111178: Fix function signatures for multiple tests (#131496)
This commit is contained in:
parent
486d537065
commit
34c1ea3109
15 changed files with 112 additions and 69 deletions
|
@ -451,8 +451,9 @@ PyDoc_STRVAR(SSLEOFError_doc,
|
|||
"SSL/TLS connection terminated abruptly.");
|
||||
|
||||
static PyObject *
|
||||
SSLError_str(PyOSErrorObject *self)
|
||||
SSLError_str(PyObject *op)
|
||||
{
|
||||
PyOSErrorObject *self = (PyOSErrorObject*)op;
|
||||
if (self->strerror != NULL && PyUnicode_Check(self->strerror)) {
|
||||
return Py_NewRef(self->strerror);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue