(attr)
return alias
Alias one attribute name to another for backward compatibility
Alias one attribute name to another for backward compatibility
Alias one attribute name to another for backward compatibility
def _alias(attr):
    """Alias one attribute name to another for backward compatibility"""
    @property
    def alias(self):
        return getattr(self, attr)

    @alias.setter
    def alias(self):
        return setattr(self, attr)
    return alias
def _alias ( attr ) : @ property def alias ( self ) : return getattr ( self , attr ) @ alias . setter def alias ( self ) : return setattr ( self , attr ) return alias