code: def clean_lines(text):
      """Clear out comments, blank lines, and leading/trailing whitespace."""
      lines = (line.strip() for line in text.splitlines())
      lines = (
          line.partition("#")[0].rstrip()
          for line in lines
          if line and not line.startswith("#")
      )
      glob_all = f"{GLOB_ALL} "
      lines = (re.sub(r"^[*] ", glob_all, line) for line in lines)
      lines = (_abs(line) for line in lines)
      return list(lines)
  
file_path: cpython/Tools/c-analyzer/cpython/_parser.py
imports: import os.path
  import re
  from c_parser.preprocessor import get_preprocessor
  from c_parser import parse_file, parse_files
  from .None import REPO_ROOT
label_desc: Use image node_id 2 for calling a global function with example usage: clean_lines(text) and returns: list