code: def __version__(self):
      return (
          f"{self.major}.{self.minor}.{self.micro}"
          + (
              f"{'r' if self.releaselevel[0] == 'c' else ''}{self.releaselevel[0]}{self.serial}",
              "",
          )[self.releaselevel == "final"]
      )
  
file_path: catboost/contrib/python/pyparsing/py3/pyparsing/__init__.py
imports: from typing import NamedTuple
  from .util import *
  from .exceptions import *
  from .actions import *
  from .core import __diag__, __compat__
  from .results import *
  from .core import *
  from .core import _builtin_exprs
  from .helpers import *
  from .helpers import _builtin_exprs
  from .unicode import unicode_set, UnicodeRangeList, pyparsing_unicode
  from .testing import pyparsing_test
  from .common import pyparsing_common, _builtin_exprs
label_desc: Use image node_id 1 for calling the version_info obj's underlying member method code with example usage: obj.__version__() and returns: unknown