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 15a21e4 commit fdba15aCopy full SHA for fdba15a
1 file changed
Doc/library/os.rst
@@ -2180,6 +2180,11 @@ features:
2180
2181
.. audit-event:: os.chdir path os.chdir
2182
2183
+ .. seealso::
2184
+
2185
+ The :func:`contextlib.chdir` context manager, which changes the current
2186
+ working directory on entering and restores the previous one on exit.
2187
2188
.. versionchanged:: 3.3
2189
Added support for specifying *path* as a file descriptor
2190
on some platforms.
0 commit comments