parameters: (self, template)
return_statement: return re.sub(r'\$\$|\${\w+}', self._render_sub, template)
docstring: Replace each $-substitutions in the given template string with
          the corresponding terminal control string (if it's defined) or
          '' (if it's not).
docstring_summary: Replace each $-substitutions in the given template string with
          the corresponding terminal control string (if it's defined) or
          '' (if it's not).
docstring_tokens: Replace each $ - substitutions in the given template string with the corresponding terminal control string ( if it s defined ) or ( if it s not ) .
function: def render(self, template):
          """
          Replace each $-substitutions in the given template string with
          the corresponding terminal control string (if it's defined) or
          '' (if it's not).
          """
          return re.sub(r'\$\$|\${\w+}', self._render_sub, template)
function_tokens: def render ( self , template ) : return re . sub ( r'\$\$|\${\w+}' , self . _render_sub , template )