diff --git a/path/__init__.py b/path/__init__.py index 33dd979..57606af 100644 --- a/path/__init__.py +++ b/path/__init__.py @@ -251,7 +251,7 @@ def __exit__(self, *_) -> None: os.chdir(self._old_dir) @classmethod - def cwd(cls): + def cwd(cls) -> 'Path': """Return the current working directory as a path object. .. seealso:: :func:`os.getcwd`