Lines Matching defs:term
2659 "setupterm($module, /, term=None, fd=-1)\n"
2664 " term\n"
2675 _curses_setupterm_impl(PyObject *module, const char *term, int fd);
2681 static const char * const _keywords[] = {"term", "fd", NULL};
2685 const char *term = NULL;
2697 term = NULL;
2701 term = PyUnicode_AsUTF8AndSize(args[0], &term_length);
2702 if (term == NULL) {
2705 if (strlen(term) != (size_t)term_length) {
2711 _PyArg_BadArgument("setupterm", "argument 'term'", "str or None", args[0]);
2723 return_value = _curses_setupterm_impl(module, term, fd);