def _clone_properties ( self ) : cls = self . __class__ if self . _properties is cls . _properties : self . _properties = dict ( cls . _properties )
python copy properties of one object to another
Internal helper to clone self . _properties if necessary .
def _clone_properties(self):
    """Internal helper to clone self._properties if necessary."""
    cls = self.__class__
    if self._properties is cls._properties:
      self._properties = dict(cls._properties)