parameters: (self, strict=False)
return_statement: return obj
docstring: Make the path absolute, resolving all symlinks on the way and also
          normalizing it (for example turning slashes into backslashes under
          Windows).
docstring_summary: Make the path absolute, resolving all symlinks on the way and also
          normalizing it (for example turning slashes into backslashes under
          Windows).
docstring_tokens: Make the path absolute resolving all symlinks on the way and also normalizing it ( for example turning slashes into backslashes under Windows ) .
function: def resolve(self, strict=False):
          """
          Make the path absolute, resolving all symlinks on the way and also
          normalizing it (for example turning slashes into backslashes under
          Windows).
          """
          if self._closed:
              self._raise_closed()
          s = self._flavour.resolve(self, strict=strict)
          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
function_tokens: def resolve ( self , strict = False ) : if self . _closed : self . _raise_closed ( ) s = self . _flavour . resolve ( self , strict = strict ) 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