

def _propsetautodisplayupdate(self, value):
    if (self._windowsurface is not None):
        value._autodisplayupdate = bool(value)
    elif bool(value):
        assert False, 'Window Surface object must be set to a surface before autodisplayupdate can be enabled.'

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface._propsetautodisplayupdate/VarMisuse@24/34 `self`->`value`