(self, context)
return self._separator.join(blocks)
Render the node.
Render the node.
Render the node .
def render(self, context):  # pylint: disable=g-bad-name
    """Render the node."""
    blocks = []
    # Split apart on paramater boundaries, getting rid of white space between
    # parameters
    for block in self._nodelist.render(context).split(ParameterNode.BEGIN):
      block = block.lstrip().rstrip().replace(ParameterNode.END, '')
      if block:
        blocks.append(block)
    if self._append and blocks:
      blocks.insert(0, '')
    return self._separator.join(blocks)
def render ( self , context ) : # pylint: disable=g-bad-name blocks = [ ] # Split apart on paramater boundaries, getting rid of white space between # parameters for block in self . _nodelist . render ( context ) . split ( ParameterNode . BEGIN ) : block = block . lstrip ( ) . rstrip ( ) . replace ( ParameterNode . END , '' ) if block : blocks . append ( block ) if self . _append and blocks : blocks . insert ( 0 , '' ) return self . _separator . join ( blocks )