parameters: (self, name, parameters=())
return_statement: return stylename
docstring: Returns the style name to use for the given style.
  
          If `parameters` is given `name` must contain a matching number of
          ``%`` and is used as a format expression with `parameters` as
          the value.
docstring_summary: Returns the style name to use for the given style.
docstring_tokens: Returns the style name to use for the given style .
function: def rststyle(self, name, parameters=()):
          """
          Returns the style name to use for the given style.
  
          If `parameters` is given `name` must contain a matching number of
          ``%`` and is used as a format expression with `parameters` as
          the value.
          """
          name1 = name % parameters
          stylename = self.format_map.get(name1, 'rststyle-%s' % name1)
          return stylename
function_tokens: def rststyle ( self , name , parameters = ( ) ) : name1 = name % parameters stylename = self . format_map . get ( name1 , 'rststyle-%s' % name1 ) return stylename