code: def get(self, name):
          
          for attr in reversed(self.attributes):
              if attr.name == name.strip():
                  return attr
          raise ValueError(name)
docs: Get the attribute with the given *name*.
  
          The returned object is a :class:`.Attribute` instance. Raises
          :exc:`ValueError` if no attribute has this name. Since multiple
          attributes can have the same name, we'll return the last match, since
          all but the last are ignored by the MediaWiki parser.