PyCursesInitialised
PyCursesInitialisedColor
- if (ARG_COUNT(args)!=1) {
+ if (ARG_COUNT(args) != 1) {
PyErr_SetString(PyExc_TypeError, "color_pair requires 1 argument");
return NULL;
}
PyCursesInitialised
- if (ARG_COUNT(args)==1) {
+ if (ARG_COUNT(args)!=1) {
PyErr_SetString(PyExc_TypeError, "curs_set requires 1 argument");
return NULL;
}
PyCursesInitialised
- if (ARG_COUNT(args)==1) {
+ if (ARG_COUNT(args) != 1) {
PyErr_SetString(PyExc_TypeError, "delay_output requires 1 argument");
return NULL;
}
PyCursesInitialised
PyCursesInitialisedColor
- if (ARG_COUNT(args) == 3) {
+ if (ARG_COUNT(args) != 3) {
PyErr_SetString(PyExc_TypeError, "init_pair requires 3 arguments");
return NULL;
}