code: def iglob(pathname, recursive=False):
      """Return an iterator which yields the paths matching a pathname pattern.
  
      The pattern may contain simple shell-style wildcards a la
      fnmatch. However, unlike fnmatch, filenames starting with a
      dot are special cases that are not matched by '*' and '?'
      patterns.
  
      If recursive is true, the pattern '**' will match any files and
      zero or more directories and subdirectories.
      """
      it = _iglob(pathname, recursive)
      if recursive and _isrecursive(pathname):
          s = next(it)  # skip empty string
          assert not s
      return it
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/glob.py
imports: import os
  import re
  import fnmatch
label_desc: Use image node_id 2 for calling a global function with example usage: iglob(pathname, recursive) and returns: it