def _curses_setupterm_null(fd): # NOT_RPYTHON try: _curses.setupterm(None, fd) except _curses.error as e: raise curses_error(e.args[0])
def _curses_setupterm(termname, fd): # NOT_RPYTHON try: _curses.setupterm(termname, fd) except _curses.error, e: raise curses_error(e.args[0])