docstr: 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.
docstr_tok: ["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","."]
code: def iglob(self, 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 = self._iglob(pathname, recursive, False)
      if recursive and _isrecursive(pathname):  # pragma: no cover
          s = next(it)  # skip empty string
          assert not s
      return it
  
file_path: mars/mars/lib/filesystem/_glob.py
imports: import fnmatch
  import os
  import re
  from .core import FileSystem
label_desc: Use image node_id 3 for calling the FileSystemGlob obj's underlying member method code with example usage: obj.iglob(pathname, recursive) and returns: it