

@_argspec(1, 1, 2)
def addch(self, y, x, ch, attr=None):
    if (attr is None):
        attr = lib.A_NORMAL
    ch = _chtype(ch)
    if (y is not None):
        code = lib.mvwaddch(self._win, y, x, (ch | attr))
    else:
        code = lib.waddch(self._win, (ch | attr))
    return _check_ERR(code, 'addch')

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cffi-1.5.2/demo/_curses.py Window.addch/original