code: def _get_gid(name):
      """Returns a gid, given a group name."""
      if getgrnam is None or name is None:
          return None
      try:
          result = getgrnam(name)
      except KeyError:
          result = None
      if result is not None:
          return result[2]
      return None
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/archive_util.py
imports: import os
  from warnings import warn
  import sys
  from .errors import DistutilsExecError
  from .spawn import spawn
  from .dir_util import mkpath
  from ._log import log
label_desc: Use image node_id 1 for calling a global function with example usage: _get_gid(name) and returns: None, None, result