parameters: (self, name)
return_statement: return None
docstring: Return all values for specified attribute as a list.
docstring_summary: Return all values for specified attribute as a list.
docstring_tokens: Return all values for specified attribute as a list .
function: def get_attrib_list(self, name):
          """ Return all values for specified attribute as a list. """
          if name in self.attribs:
              if isinstance(self.attribs[name], list):
                  # the value is already a list
                  return self.attribs[name]
              else:
                  # convert the value to a list
                  return [self.attribs[name]]
          return None
function_tokens: def get_attrib_list ( self , name ) : if name in self . attribs : if isinstance ( self . attribs [ name ] , list ) : # the value is already a list return self . attribs [ name ] else : # convert the value to a list return [ self . attribs [ name ] ] return None