code: def walkdirs(self, *args, **kwargs):
          
          return (
              item
              for item in self.walk(*args, **kwargs)
              if item.isdir()
          )
docs: D.walkdirs() -> iterator over subdirs, recursively.