Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2180,6 +2180,12 @@ features:

.. audit-event:: os.chdir path os.chdir

.. seealso::

Context manager :func:`contextlib.chdir`
Changes the working directory on entering and restores the previous one
on exit.
Comment thread
cmaloney marked this conversation as resolved.
Outdated

.. versionchanged:: 3.3
Added support for specifying *path* as a file descriptor
on some platforms.
Expand Down
Loading