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