FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] Docs: Link to the `contextlib.chdir` context manager in the `os.chdir` docs (GH-153152) by miss-islington · Pull Request #153213 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 5 additions & 0 deletions Doc/library/os.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -2150,6 +2150,11 @@ features:

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

.. seealso::

The :func:`contextlib.chdir` context manager, which changes the current
working directory on entering and restores the previous one on exit.

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

Back | FazBrowse Home | New Git URL