code: def _print_tokens(func):
      """
      A small helper function to help debug the tokenize_lines function.
      """
  
      def wrapper(*args, **kwargs):
          for token in func(*args, **kwargs):
              print(token)  # This print is intentional for debugging!
              yield token
  
      return wrapper
  
imports: from __future__ import absolute_import
  import sys
  import re
  import itertools
  from codecs import BOM_UTF8
  from typing import NamedTuple, Tuple, Iterator, Iterable, List, Dict, Pattern, Set
  from parso.python.token import PythonTokenTypes
  from parso.utils import split_lines, PythonVersionInfo, parse_version_string
label_desc: Use image node_id 10 for calling a global function with example usage: _print_tokens(func) and returns: wrapper