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 d80f581 commit 7d09891Copy full SHA for 7d09891
1 file changed
Doc/library/os.rst
@@ -2150,6 +2150,11 @@ features:
2150
2151
.. audit-event:: os.chdir path os.chdir
2152
2153
+ .. seealso::
2154
+
2155
+ The :func:`contextlib.chdir` context manager, which changes the current
2156
+ working directory on entering and restores the previous one on exit.
2157
2158
.. versionchanged:: 3.3
2159
Added support for specifying *path* as a file descriptor
2160
on some platforms.
0 commit comments