def get( self, key, default=None ):
      return self.__dict__.get( key, default )

   #-----------------------------------------------------------------------
: Return value for the key if found; otherwise, return 'default'.
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/Data.py/Data.get