code: def _check_arg_types(funcname, *args):
      hasstr = hasbytes = False
      for s in args:
          if isinstance(s, str):
              hasstr = True
          elif isinstance(s, bytes):
              hasbytes = True
          else:
              raise TypeError(
                  f"{funcname}() argument must be str, bytes, or "
                  f"os.PathLike object, not {s.__class__.__name__!r}"
              ) from None
      if hasstr and hasbytes:
          raise TypeError(
              "Can't mix strings and bytes in path components"
          ) from None
  
file_path: catboost/contrib/tools/python3/src/Lib/genericpath.py
imports: import os
  import stat
label_desc: Use image node_id 13 for calling a global function with example usage: _check_arg_types(funcname) without return types