parameters: (self, pattern, normcase, errors)
docstring: Prepared version of walkdirs
docstring_summary: Prepared version of walkdirs
docstring_tokens: Prepared version of walkdirs
function: def __walkdirs(self, pattern, normcase, errors):
          """ Prepared version of walkdirs """
          try:
              dirs = self.dirs()
          except Exception:
              if errors == 'ignore':
                  return
              elif errors == 'warn':
                  warnings.warn(
                      "Unable to list directory '%s': %s"
                      % (self, sys.exc_info()[1]),
                      TreeWalkWarning)
                  return
              else:
                  raise
  
          for child in dirs:
              if pattern is None or child.__fnmatch(pattern, normcase):
                  yield child
              for subsubdir in child.__walkdirs(pattern, normcase, errors):
                  yield subsubdir
function_tokens: def __walkdirs ( self , pattern , normcase , errors ) : try : dirs = self . dirs ( ) except Exception : if errors == 'ignore' : return elif errors == 'warn' : warnings . warn ( "Unable to list directory '%s': %s" % ( self , sys . exc_info ( ) [ 1 ] ) , TreeWalkWarning ) return else : raise for child in dirs : if pattern is None or child . __fnmatch ( pattern , normcase ) : yield child for subsubdir in child . __walkdirs ( pattern , normcase , errors ) : yield subsubdir