parameters: (suite)
docstring: If an INDENT is followed by a thing with a prefix then nuke the prefix
          Otherwise we get in trouble when removing __metaclass__ at suite start
docstring_summary: If an INDENT is followed by a thing with a prefix then nuke the prefix
          Otherwise we get in trouble when removing __metaclass__ at suite start
docstring_tokens: If an INDENT is followed by a thing with a prefix then nuke the prefix Otherwise we get in trouble when removing __metaclass__ at suite start
function: def fixup_indent(suite):
      """ If an INDENT is followed by a thing with a prefix then nuke the prefix
          Otherwise we get in trouble when removing __metaclass__ at suite start
      """
      kids = suite.children[::-1]
      # find the first indent
      while kids:
          node = kids.pop()
          if node.type == token.INDENT:
              break
  
      # find the first Leaf
      while kids:
          node = kids.pop()
          if isinstance(node, Leaf) and node.type != token.DEDENT:
              if node.prefix:
                  node.prefix = u''
              return
          else:
              kids.extend(node.children[::-1])
function_tokens: def fixup_indent ( suite ) : kids = suite . children [ : : - 1 ] # find the first indent while kids : node = kids . pop ( ) if node . type == token . INDENT : break # find the first Leaf while kids : node = kids . pop ( ) if isinstance ( node , Leaf ) and node . type != token . DEDENT : if node . prefix : node . prefix = u'' return else : kids . extend ( node . children [ : : - 1 ] )