code: def _libs_on_path():
      """context manager for libs directory on $PATH
  
      Works around mysterious issue where os.add_dll_directory
      does not resolve imports (conda-forge Python >= 3.8)
      """
  
      if not sys.platform.startswith("win"):
          yield
          return
  
      libs_dir = os.path.abspath(
          os.path.join(
              os.path.dirname(__file__),
              os.pardir,
              "pyzmq.libs",
          )
      )
      if not os.path.exists(libs_dir):
          # no bundled libs
          yield
          return
  
      path_before = os.environ.get("PATH")
      try:
          os.environ["PATH"] = os.pathsep.join(
              [path_before or "", libs_dir]
          )
          yield
      finally:
          if path_before is None:
              os.environ.pop("PATH")
          else:
              os.environ["PATH"] = path_before
  
file_path: catboost/contrib/python/pyzmq/py3/zmq/__init__.py
imports: import os
  import sys
  from contextlib import contextmanager
  from .None import constants
  from .constants import *
  from zmq.backend import *
  from zmq import sugar
  from zmq.sugar import *
label_desc: Use image node_id 2 for calling a global function with example usage: _libs_on_path() without return types