pypet/utils/decorators.py
def prefix_naming(cls):
    """Decorate that adds the prefix naming scheme"""
    if hasattr(cls, '__getattr__'):
        raise TypeError('__getattr__ already defined')
    cls.__getattr__ = _prfx_getattr_
    cls.__setattr__ = _prfx_setattr_
    return cls
def prefix_naming(cls):
    if hasattr(cls, '__getattr__'):
        raise TypeError('__getattr__ already defined')
    cls.__getattr__ = _prfx_getattr_
    cls.__setattr__ = _prfx_setattr_
    return cls
def prefix_naming ( cls ) : if hasattr ( cls , '__getattr__' ) : raise TypeError ( '__getattr__ already defined' ) cls . __getattr__ = _prfx_getattr_ cls . __setattr__ = _prfx_setattr_ return cls
Decorate that adds the prefix naming scheme
Decorate that adds the prefix naming scheme