code: def _rlistdir(dirname):
      if not dirname:
          if isinstance(dirname, bytes):
              dirname = os.curdir.encode("ASCII")
          else:
              dirname = os.curdir
      try:
          names = os.listdir(dirname)
      except os.error:
          return
      for x in names:
          yield x
          path = os.path.join(dirname, x) if dirname else x
          for y in _rlistdir(path):
              yield os.path.join(x, y)
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/glob.py
imports: import os
  import re
  import fnmatch
label_desc: Use image node_id 7 for calling a global function with example usage: _rlistdir(dirname) without return types