def __str__( self ):
      """: Get a string representation of this instance.

      = RETURN VALUE
      - Returns a string represnetation of this property.
      """
      if self.owner:
         return "%s: %s.%s" % \
                ( self.styleClass.__name__,
                  self.owner.__name__,
                  self.name )
      elif self.name:
         return "%s: %s" % ( self.styleClass.__name__, self.name )
      else:
         return "%s" % ( self.styleClass.__name__ )

   #-----------------------------------------------------------------------
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/property/SubStyle.py/SubStyle.__str__/original