(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'\def\%s@tok@%s{%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'\def\%s@tok@%s{%s}' % ( cp , name , definition ) ) return STYLE_TEMPLATE % { 'cp' : self . commandprefix , 'styles' : '\n' . join ( styles ) }