

def newwin(nlines, ncols, begin_y=None, begin_x=None):
    _ensure_initialised()
    if (begin_x is None):
        if (begin_y is not None):
            raise error('newwin requires 2 or 4 arguments')
        begin_y = begin_x = 0
    return Window(_check_NULL(lib.newwin(begin_x, ncols, begin_y, begin_x)))

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cffi-1.5.2/demo/_curses.py newwin/VarMisuse@66/102 `nlines`->`begin_x`