(self, sep)
return raw
Set the output raw parameters section

        :param sep: the separator of current style
Set the output raw parameters section
Set the output raw parameters section
def _set_raw_params(self, sep):
        """Set the output raw parameters section

        :param sep: the separator of current style

        """
        raw = '\n'
        if self.dst.style['out'] == 'numpydoc':
            spaces = ' ' * 4
            with_space = lambda s: '\n'.join([self.docs['out']['spaces'] + spaces +\
                                                    l.lstrip() if i > 0 else\
                                                    l for i, l in enumerate(s.splitlines())])
            raw += self.dst.numpydoc.get_key_section_header('param', self.docs['out']['spaces'])
            for p in self.docs['out']['params']:
                raw += self.docs['out']['spaces'] + p[0] + ' :'
                if p[2] is not None and len(p[2]) > 0:
                    raw += ' ' + p[2]
                raw += '\n'
                raw += self.docs['out']['spaces'] + spaces + with_space(p[1]).strip()
                if len(p) > 2:
                    if 'default' not in p[1].lower() and len(p) > 3 and p[3] is not None:
                        raw += ' (Default value = ' + str(p[3]) + ')'
                raw += '\n'
        elif self.dst.style['out'] == 'google':
            spaces = ' ' * 2
            with_space = lambda s: '\n'.join([self.docs['out']['spaces'] +\
                                                    l.lstrip() if i > 0 else\
                                                    l for i, l in enumerate(s.splitlines())])
            raw += self.dst.googledoc.get_key_section_header('param', self.docs['out']['spaces'])
            for p in self.docs['out']['params']:
                raw += self.docs['out']['spaces'] + spaces + p[0]
                if p[2] is not None and len(p[2]) > 0:
                    raw += '(' + p[2]
                    if len(p) > 3 and p[3] is not None:
                        raw += ', optional'
                    raw += ')'
                raw += ': ' + with_space(p[1]).strip()
                if len(p) > 2:
                    if 'default' not in p[1].lower() and len(p) > 3 and p[3] is not None:
                        raw += ' (Default value = ' + str(p[3]) + ')'
                raw += '\n'
        elif self.dst.style['out'] == 'groups':
            pass
        else:
            with_space = lambda s: '\n'.join(
                [self.docs['out']['spaces'] + l if i > 0 else l for i, l in enumerate(s.splitlines())]
            )
            if len(self.docs['out']['params']):
                for p in self.docs['out']['params']:
                    raw += self.docs['out']['spaces'] + self.dst.get_key('param', 'out') + ' ' + p[0] + sep + with_space(p[1]).strip()
                    if len(p) > 2:
                        if 'default' not in p[1].lower() and len(p) > 3 and p[3] is not None:
                            raw += ' (Default value = ' + str(p[3]) + ')'
                        if p[2] is not None and len(p[2]) > 0:
                            raw += '\n'
                            raw += self.docs['out']['spaces'] + self.dst.get_key('type', 'out') + ' ' + p[0] + sep + p[2]
                    if self.type_stub and (len(p) <= 2 or p[2] is None or len(p[2]) == 0):
                        raw += '\n'
                        raw += self.docs['out']['spaces'] + self.dst.get_key('type', 'out') + ' ' + p[0] + sep
                    raw += '\n'
        return raw
def _set_raw_params ( self , sep ) : raw = '\n' if self . dst . style [ 'out' ] == 'numpydoc' : spaces = ' ' * 4 with_space = lambda s : '\n' . join ( [ self . docs [ 'out' ] [ 'spaces' ] + spaces + l . lstrip ( ) if i > 0 else l for i , l in enumerate ( s . splitlines ( ) ) ] ) raw += self . dst . numpydoc . get_key_section_header ( 'param' , self . docs [ 'out' ] [ 'spaces' ] ) for p in self . docs [ 'out' ] [ 'params' ] : raw += self . docs [ 'out' ] [ 'spaces' ] + p [ 0 ] + ' :' if p [ 2 ] is not None and len ( p [ 2 ] ) > 0 : raw += ' ' + p [ 2 ] raw += '\n' raw += self . docs [ 'out' ] [ 'spaces' ] + spaces + with_space ( p [ 1 ] ) . strip ( ) if len ( p ) > 2 : if 'default' not in p [ 1 ] . lower ( ) and len ( p ) > 3 and p [ 3 ] is not None : raw += ' (Default value = ' + str ( p [ 3 ] ) + ')' raw += '\n' elif self . dst . style [ 'out' ] == 'google' : spaces = ' ' * 2 with_space = lambda s : '\n' . join ( [ self . docs [ 'out' ] [ 'spaces' ] + l . lstrip ( ) if i > 0 else l for i , l in enumerate ( s . splitlines ( ) ) ] ) raw += self . dst . googledoc . get_key_section_header ( 'param' , self . docs [ 'out' ] [ 'spaces' ] ) for p in self . docs [ 'out' ] [ 'params' ] : raw += self . docs [ 'out' ] [ 'spaces' ] + spaces + p [ 0 ] if p [ 2 ] is not None and len ( p [ 2 ] ) > 0 : raw += '(' + p [ 2 ] if len ( p ) > 3 and p [ 3 ] is not None : raw += ', optional' raw += ')' raw += ': ' + with_space ( p [ 1 ] ) . strip ( ) if len ( p ) > 2 : if 'default' not in p [ 1 ] . lower ( ) and len ( p ) > 3 and p [ 3 ] is not None : raw += ' (Default value = ' + str ( p [ 3 ] ) + ')' raw += '\n' elif self . dst . style [ 'out' ] == 'groups' : pass else : with_space = lambda s : '\n' . join ( [ self . docs [ 'out' ] [ 'spaces' ] + l if i > 0 else l for i , l in enumerate ( s . splitlines ( ) ) ] ) if len ( self . docs [ 'out' ] [ 'params' ] ) : for p in self . docs [ 'out' ] [ 'params' ] : raw += self . docs [ 'out' ] [ 'spaces' ] + self . dst . get_key ( 'param' , 'out' ) + ' ' + p [ 0 ] + sep + with_space ( p [ 1 ] ) . strip ( ) if len ( p ) > 2 : if 'default' not in p [ 1 ] . lower ( ) and len ( p ) > 3 and p [ 3 ] is not None : raw += ' (Default value = ' + str ( p [ 3 ] ) + ')' if p [ 2 ] is not None and len ( p [ 2 ] ) > 0 : raw += '\n' raw += self . docs [ 'out' ] [ 'spaces' ] + self . dst . get_key ( 'type' , 'out' ) + ' ' + p [ 0 ] + sep + p [ 2 ] if self . type_stub and ( len ( p ) <= 2 or p [ 2 ] is None or len ( p [ 2 ] ) == 0 ) : raw += '\n' raw += self . docs [ 'out' ] [ 'spaces' ] + self . dst . get_key ( 'type' , 'out' ) + ' ' + p [ 0 ] + sep raw += '\n' return raw