Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f040b7 commit d395209Copy full SHA for d395209
1 file changed
Modules/_io/winconsoleio.c
@@ -205,7 +205,7 @@ _io__WindowsConsoleIO_close_impl(winconsoleio *self)
205
int rc;
206
_Py_IDENTIFIER(close);
207
res = _PyObject_CallMethodIdOneArg((PyObject*)&PyRawIOBase_Type,
208
- &PyId_close, self);
+ &PyId_close, (PyObject*)self);
209
if (!self->closehandle) {
210
self->handle = INVALID_HANDLE_VALUE;
211
return res;
0 commit comments