pypet/utils/decorators.py
def _prfx_setattr_(obj, item, value):
    """Replacement of __setattr__"""
    if item.startswith('v_'):
        return setattr(obj, item[2:], value)
    else:
        return super(obj.__class__, obj).__setattr__(item, value)
def _prfx_setattr_(obj, item, value):
    """Replacement of __setattr__"""
    if item.startswith('v_'):
        return setattr(obj, item[2:], value)
    else:
        return super(obj.__class__, obj).__setattr__(item, value)
def _prfx_setattr_ ( obj , item , value ) : if item . startswith ( 'v_' ) : return setattr ( obj , item [ 2 : ] , value ) else : return super ( obj . __class__ , obj ) . __setattr__ ( item , value )
Replacement of __setattr__
Replacement of __setattr__