code: def rmdir_p(self):
          
          suppressed = FileNotFoundError, FileExistsError, DirectoryNotEmpty
          with contextlib.suppress(suppressed):
              with DirectoryNotEmpty.translate():
                  self.rmdir()
          return self
docs: Like :meth:`rmdir`, but does not raise an exception if the
          directory is not empty or does not exist.