Skip to content

Commit 725e784

Browse files
Address Victor's review of pythongh-104197
1 parent ea1ae76 commit 725e784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/winconsoleio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ _io__WindowsConsoleIO___init___impl(winconsoleio *self, PyObject *nameobj,
263263
int fd_is_own = 0;
264264
HANDLE handle = NULL;
265265

266-
#ifdef Py_DEBUG
266+
#ifdef NDEBUG
267267
_PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
268268
assert(PyObject_TypeCheck(self, state->PyWindowsConsoleIO_Type));
269269
#endif

0 commit comments

Comments
 (0)