def format (self, *args, **kwargs):
        """Return a new path formed by calling :meth:`str.format` on the
        textualization of this path.

        """
        return self.__class__ (str (self).format (*args, **kwargs))