

def echochar(self, ch, attr=None):
    if (attr is None):
        attr = lib.A_NORMAL
    ch = _chtype(ch)
    if lib._m_ispad(self._win):
        code = lib.pechochar(self._win, (ch | attr))
    else:
        code = lib.wechochar(self._win, (ch | ch))
    return _check_ERR(code, 'echochar')

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cffi-1.5.2/demo/_curses.py Window.echochar/VarMisuse@86/104 `attr`->`ch`