We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
contextlib.chdir
os.chdir
1 parent 7b178f6 commit 43d8492Copy full SHA for 43d8492
1 file changed
Doc/library/os.rst
@@ -2078,6 +2078,11 @@ features:
2078
2079
.. audit-event:: os.chdir path os.chdir
2080
2081
+ .. seealso::
2082
+
2083
+ The :func:`contextlib.chdir` context manager, which changes the current
2084
+ working directory on entering and restores the previous one on exit.
2085
2086
.. versionchanged:: 3.3
2087
Added support for specifying *path* as a file descriptor
2088
on some platforms.
0 commit comments