(self, arg='')
return STYLE_TEMPLATE % {'cp': self.commandprefix,
                                 'styles': '\n'.join(styles)}
Return the command sequences needed to define the commands
        used to format text in the verbatim environment. ``arg`` is ignored.
Return the command sequences needed to define the commands
        used to format text in the verbatim environment. ``arg`` is ignored.
Return the command sequences needed to define the commands used to format text in the verbatim environment . arg is ignored .
def get_style_defs(self, arg=''):
        """
        Return the command sequences needed to define the commands
        used to format text in the verbatim environment. ``arg`` is ignored.
        """
        cp = self.commandprefix
        styles = []
        for name, definition in self.cmd2def.iteritems():
            styles.append(r'\expandafter\def\csname %s@tok@%s\endcsname{%s}' %
                          (cp, name, definition))
        return STYLE_TEMPLATE % {'cp': self.commandprefix,
                                 'styles': '\n'.join(styles)}
def get_style_defs ( self , arg = '' ) : cp = self . commandprefix styles = [ ] for name , definition in self . cmd2def . iteritems ( ) : styles . append ( r'\expandafter\def\csname %s@tok@%s\endcsname{%s}' % ( cp , name , definition ) ) return STYLE_TEMPLATE % { 'cp' : self . commandprefix , 'styles' : '\n' . join ( styles ) }