Skip to content

Commit d5aa3db

Browse files
committed
remove unintentional changes
1 parent 7eeb8f6 commit d5aa3db

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Modules/_cursesmodule.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,14 +1695,6 @@ _curses_window_getch_impl(PyCursesWindowObject *self, int group_right_1,
16951695
}
16961696
Py_END_ALLOW_THREADS
16971697

1698-
/* getch() returns ERR in nodelay mode */
1699-
if (PyErr_CheckSignals()) {
1700-
cursesmodule_state *state = get_cursesmodule_state_by_win(self);
1701-
const char *funcname = group_right_1 ? "mvwgetch" : "wgetch";
1702-
PyErr_Format(state->error, "getch(): %s(): no input", funcname);
1703-
return ERR;
1704-
}
1705-
17061698
return rtn;
17071699
}
17081700

0 commit comments

Comments
 (0)