parameters: (self, tag, attr, convert=True)
return_statement: return vals
docstring: :param tag: Name of XML tag to retrieve, ``str``
          :param attr: Name of XML attribute to retrieve from tag, ``str``
          :param convert: If ``True``, interpret variables (e.g. ``${prefix}``) export values.
          :returns: exports that match the specified tag and attribute, e.g. 'python', 'path'. ``[str]``
docstring_summary: :param tag: Name of XML tag to retrieve, ``str``
          :param attr: Name of XML attribute to retrieve from tag, ``str``
          :param convert: If ``True``, interpret variables (e.g. ``${prefix}``) export values.
          :returns: exports that match the specified tag and attribute, e.g. 'python', 'path'. ``[str]``
docstring_tokens: : param tag : Name of XML tag to retrieve str : param attr : Name of XML attribute to retrieve from tag str : param convert : If True interpret variables ( e . g . $ { prefix } ) export values . : returns : exports that match the specified tag and attribute e . g . python path . [ str ]
function: def get_export(self, tag, attr, convert=True):
          """
          :param tag: Name of XML tag to retrieve, ``str``
          :param attr: Name of XML attribute to retrieve from tag, ``str``
          :param convert: If ``True``, interpret variables (e.g. ``${prefix}``) export values.
          :returns: exports that match the specified tag and attribute, e.g. 'python', 'path'. ``[str]``
          """
          vals = [e.get(attr) for e in self.exports if e.tag == tag if e.get(attr) is not None]
          if convert:
              if not self.filename:
                  raise ValueError("cannot convert export values when filename for Manifest is not set")
              prefix = os.path.dirname(self.filename)
              vals = [v.replace('${prefix}', prefix) for v in vals]
          return vals
function_tokens: def get_export ( self , tag , attr , convert = True ) : vals = [ e . get ( attr ) for e in self . exports if e . tag == tag if e . get ( attr ) is not None ] if convert : if not self . filename : raise ValueError ( "cannot convert export values when filename for Manifest is not set" ) prefix = os . path . dirname ( self . filename ) vals = [ v . replace ( '${prefix}' , prefix ) for v in vals ] return vals