(self, template)
return re.sub("r\$\$|\${\w+}", self._render_sub, template)
Replace each $-substitutions in the given template string with
        the corresponding terminal control string (if it's defined) or
        '' (if it's not).
Replace each $-substitutions in the given template string with
        the corresponding terminal control string (if it's defined) or
        '' (if it's not).
Replace each $ - substitutions in the given template string with the corresponding terminal control string ( if it s defined ) or ( if it s not ) .
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)
def render ( self , template ) : return re . sub ( "r\$\$|\${\w+}" , self . _render_sub , template )