def _alias(attr):
 @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
alias one attribute name to another for backward compatibility .