code: def _parse_local_version(local):
      """
      Takes a string like abc.1.twelve and turns it into ("abc", 1, "twelve").
      """
      if local is not None:
          return tuple(
              part.lower() if not part.isdigit() else int(part)
              for part in _local_version_seperators.split(local)
          )
  
imports: from __future__ import absolute_import, division, print_function
  import collections
  import itertools
  import re
  from ._structures import Infinity
label_desc: Use image node_id 5 for calling a global function with example usage: _parse_local_version(local) and returns: tuple