Skip to content

Commit 4e1a545

Browse files
committed
Tweak wording
1 parent f23fd5c commit 4e1a545

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/os.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,8 @@ features:
21832183
.. seealso::
21842184

21852185
Context manager :func:`contextlib.chdir`
2186-
Changes the working directory and restores the previous one on exit.
2186+
Changes the working directory on entering and restores the previous one
2187+
on exit.
21872188

21882189
.. versionchanged:: 3.3
21892190
Added support for specifying *path* as a file descriptor

0 commit comments

Comments
 (0)