parameters: (self, attr, default=None)
return_statement: return value
docstring: Returns the attribute or the default value if it does not exist.
  
          @param attr: the attribute to get
          @type attr: string
          @param default:  the default value to return
          @type default: any, default None
          @return: string if single value, list if multivalue, default if the
              attribute does not exist.
docstring_summary: Returns the attribute or the default value if it does not exist.
docstring_tokens: Returns the attribute or the default value if it does not exist .
function: def get(self, attr, default=None):
          """Returns the attribute or the default value if it does not exist.
  
          @param attr: the attribute to get
          @type attr: string
          @param default:  the default value to return
          @type default: any, default None
          @return: string if single value, list if multivalue, default if the
              attribute does not exist.
          """
  
          if attr in self._doc:
              value = self._doc[attr]
              if len(value) == 1 and self.get_meta('multi', attr, False) is False:
                  value = value[0]
              else:
                  value = value[:]
          else:
              value = default
              
          return value
function_tokens: def get ( self , attr , default = None ) : if attr in self . _doc : value = self . _doc [ attr ] if len ( value ) == 1 and self . get_meta ( 'multi' , attr , False ) is False : value = value [ 0 ] else : value = value [ : ] else : value = default return value