Skip to content

Commit

Permalink
Address Victor's review of pythongh-104197
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed May 10, 2023
1 parent ea1ae76 commit 725e784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_io/winconsoleio.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ _io__WindowsConsoleIO___init___impl(winconsoleio *self, PyObject *nameobj,
int fd_is_own = 0;
HANDLE handle = NULL;

#ifdef Py_DEBUG
#ifdef NDEBUG
_PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
assert(PyObject_TypeCheck(self, state->PyWindowsConsoleIO_Type));
#endif
Expand Down

0 comments on commit 725e784

Please sign in to comment.