Lines Matching refs:PyErr_SetString
150 PyErr_SetString(PyCursesError, \
156 PyErr_SetString(PyCursesError, \
162 PyErr_SetString(PyCursesError, \
186 PyErr_SetString(PyCursesError, catchall_ERR); in PyCursesCheckERR()
400 PyErr_SetString(PyExc_TypeError, "addch requires 1 to 4 arguments"); in PyCursesWindow_AddCh()
405 PyErr_SetString(PyExc_TypeError, "argument 1 or 3 must be a ch or an int"); in PyCursesWindow_AddCh()
450 PyErr_SetString(PyExc_TypeError, "addstr requires 1 to 4 arguments"); in PyCursesWindow_AddStr()
499 PyErr_SetString(PyExc_TypeError, "addnstr requires 2 to 5 arguments"); in PyCursesWindow_AddNStr()
535 PyErr_SetString(PyExc_TypeError, "bkgd requires 1 or 2 arguments"); in PyCursesWindow_Bkgd()
540 PyErr_SetString(PyExc_TypeError, "argument 1 or 3 must be a ch or an int"); in PyCursesWindow_Bkgd()
593 PyErr_SetString(PyExc_TypeError, "bkgdset requires 1 or 2 arguments"); in PyCursesWindow_BkgdSet()
598 PyErr_SetString(PyExc_TypeError, "argument 1 must be a ch or an int"); in PyCursesWindow_BkgdSet()
716 PyErr_SetString(PyExc_TypeError, "chgat requires 1 to 4 arguments"); in PyCursesWindow_ChgAt()
751 PyErr_SetString(PyExc_TypeError, "delch requires 0 or 2 arguments"); in PyCursesWindow_DelCh()
776 PyErr_SetString(PyExc_TypeError, "derwin requires 2 or 4 arguments"); in PyCursesWindow_DerWin()
783 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_DerWin()
809 PyErr_SetString(PyExc_TypeError, "echochar requires 1 or 2 arguments"); in PyCursesWindow_EchoChar()
816 PyErr_SetString(PyExc_TypeError, "argument 1 must be a ch or an int"); in PyCursesWindow_EchoChar()
869 PyErr_SetString(PyExc_TypeError, "getch requires 0 or 2 arguments"); in PyCursesWindow_GetCh()
895 PyErr_SetString(PyExc_TypeError, "getkey requires 0 or 2 arguments"); in PyCursesWindow_GetKey()
902 PyErr_SetString(PyCursesError, "no input"); in PyCursesWindow_GetKey()
929 PyErr_SetString(PyExc_ValueError, "'n' must be nonnegative"); in PyCursesWindow_GetStr()
951 PyErr_SetString(PyExc_ValueError, "'n' must be nonnegative"); in PyCursesWindow_GetStr()
966 PyErr_SetString(PyExc_TypeError, "getstr requires 0 to 3 arguments"); in PyCursesWindow_GetStr()
1006 PyErr_SetString(PyExc_TypeError, "hline requires 2 to 5 arguments"); in PyCursesWindow_Hline()
1012 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_Hline()
1052 PyErr_SetString(PyExc_TypeError, "insch requires 1 to 4 arguments"); in PyCursesWindow_InsCh()
1057 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_InsCh()
1085 PyErr_SetString(PyExc_TypeError, "inch requires 0 to 2 arguments"); in PyCursesWindow_InCh()
1106 PyErr_SetString(PyExc_ValueError, "'n' must be nonnegative"); in PyCursesWindow_InStr()
1120 PyErr_SetString(PyExc_ValueError, "'n' must be nonnegative"); in PyCursesWindow_InStr()
1126 PyErr_SetString(PyExc_TypeError, "instr requires 0 or 3 arguments"); in PyCursesWindow_InStr()
1167 PyErr_SetString(PyExc_TypeError, "insstr requires 1 to 4 arguments"); in PyCursesWindow_InsStr()
1216 PyErr_SetString(PyExc_TypeError, "insnstr requires 2 to 5 arguments"); in PyCursesWindow_InsNStr()
1241 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_Is_LineTouched()
1281 PyErr_SetString(PyCursesError, in PyCursesWindow_NoOutRefresh()
1319 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_Overlay()
1357 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_Overwrite()
1381 PyErr_SetString(PyExc_TypeError, "argument must be a file object"); in PyCursesWindow_PutWin()
1425 PyErr_SetString(PyCursesError, in PyCursesWindow_Refresh()
1467 PyErr_SetString(PyExc_TypeError, "subwin requires 2 or 4 arguments"); in PyCursesWindow_SubWin()
1481 PyErr_SetString(PyCursesError, catchall_NULL); in PyCursesWindow_SubWin()
1500 PyErr_SetString(PyExc_TypeError, "scroll requires 0 or 1 arguments"); in PyCursesWindow_Scroll()
1519 PyErr_SetString(PyExc_TypeError, "touchline requires 2 or 3 arguments"); in PyCursesWindow_TouchLine()
1556 PyErr_SetString(PyExc_TypeError, "vline requires 2 to 5 arguments"); in PyCursesWindow_Vline()
1562 PyErr_SetString(PyExc_TypeError, in PyCursesWindow_Vline()
1750 PyErr_SetString(PyCursesError, in PyCurses_Color_Content()
1833 PyErr_SetString(PyCursesError, "getmouse() returned ERR"); in PyCurses_GetMouse()
1872 PyErr_SetString(PyExc_TypeError, "argument must be a file object"); in PyCurses_GetWin()
1879 PyErr_SetString(PyCursesError, catchall_NULL); in PyCurses_GetWin()
1930 PyErr_SetString(PyExc_TypeError, "init_color requires 4 arguments"); in PyCurses_Init_Color()
1946 PyErr_SetString(PyExc_TypeError, "init_pair requires 3 arguments"); in PyCurses_Init_Pair()
1970 PyErr_SetString(PyCursesError, catchall_NULL); in PyCurses_InitScr()
2079 PyErr_SetString( in PyCurses_setupterm()
2101 PyErr_SetString(PyCursesError,s); in PyCurses_setupterm()
2123 PyErr_SetString(PyExc_TypeError, "intrflush requires 1 argument"); in PyCurses_IntrFlush()
2164 PyErr_SetString(PyExc_ValueError, "invalid key number"); in PyCurses_KeyName()
2194 PyErr_SetString(PyExc_TypeError, "meta requires 1 argument"); in PyCurses_Meta()
2253 PyErr_SetString(PyCursesError, catchall_NULL); in PyCurses_NewPad()
2279 PyErr_SetString(PyExc_TypeError, "newwin requires 2 or 4 arguments"); in PyCurses_NewWindow()
2285 PyErr_SetString(PyCursesError, catchall_NULL); in PyCurses_NewWindow()
2305 PyErr_SetString(PyExc_TypeError, "pair_content requires 1 argument"); in PyCurses_Pair_Content()
2310 PyErr_SetString(PyCursesError, in PyCurses_Pair_Content()
2331 PyErr_SetString(PyExc_TypeError, in PyCurses_pair_number()
2367 PyErr_SetString(PyExc_TypeError, "qiflush requires 0 or 1 arguments"); in PyCurses_QiFlush()
2476 PyErr_SetString(PyExc_TypeError, "setsyx requires 2 arguments"); in PyCurses_setsyx()
2509 PyErr_SetString(PyCursesError, "start_color() returned ERR"); in PyCurses_Start_Color()
2575 PyErr_SetString(PyCursesError, "tparm() returned NULL"); in PyCurses_tparm()
2614 PyErr_SetString(PyExc_TypeError, "argument must be a ch or an int"); in PyCurses_UnCtrl()
2639 PyErr_SetString(PyExc_TypeError, "argument must be a ch or an int"); in PyCurses_UngetCh()
2658 PyErr_SetString(PyExc_TypeError, "use_env requires 1 argument"); in PyCurses_Use_Env()
2681 PyErr_SetString(PyCursesError, "use_default_colors() returned ERR"); in PyCurses_Use_Default_Colors()