code: def _get_token_collection(version_info):
      try:
          return _token_collection_cache[tuple(version_info)]
      except KeyError:
          _token_collection_cache[
              tuple(version_info)
          ] = result = _create_token_collection(version_info)
          return result
  
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 5 for calling a global function with example usage: _get_token_collection(version_info) and returns: _token_collection_cache, result