code: def resolve(self):
          
          s = self._flavour.resolve(self)
          if s is None:
              # No symlink resolution => for consistency, raise an error if
              # the path doesn't exist or is forbidden
              self.stat()
              s = str(self.absolute())
          # Now we have no symlinks in the path, it's safe to normalize it.
          normed = self._flavour.pathmod.normpath(s)
          obj = self._from_parts((normed,), init=False)
          obj._init(template=self)
          return obj
docs: Make the path absolute, resolving all symlinks on the way and also
          normalizing it (for example turning slashes into backslashes under
          Windows).