code: def glob2(dirname, pattern):
      assert _isrecursive(pattern)
      yield pattern[:0]
      for x in _rlistdir(dirname):
          yield x
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/glob.py
imports: import os
  import re
  import fnmatch
label_desc: Use image node_id 6 for calling a global function with example usage: glob2(dirname, pattern) without return types