code: def normalize_multiline(line):
      
      if line.startswith('def ') and line.rstrip().endswith(':'):
          return line + ' pass'
      elif line.startswith('return '):
          return 'def _(): ' + line
      elif line.startswith('@'):
          return line + 'def _(): pass'
      elif line.startswith('class '):
          return line + ' pass'
      elif line.startswith(('if ', 'elif ', 'for ', 'while ')):
          return line + ' pass'
      else:
          return line
docs: Normalize multiline-related code that will cause syntax error.
  
      This is for purposes of checking syntax.