

def getch(self, *args):
    if (len(args) == 0):
        val = lib.wgetch(self._win)
    elif (len(args) == 2):
        val = lib.mvwgetch(val._win, *args)
    else:
        raise error('getch requires 0 or 2 arguments')
    return val

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cffi-1.5.2/demo/_curses.py Window.getch/VarMisuse@55/63 `self`->`val`