

@_argspec(2, 1, 2)
def hline(self, y, x, ch, n, attr=None):
    ch = _chtype(ch)
    if (attr is None):
        attr = lib.A_NORMAL
    if (y is not None):
        _check_ERR(lib.wmove(self._win, y, x), 'wmove')
    return _check_ERR(lib.whline(self._win, (ch | attr), n), 'hline')

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