diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-08-13 18:27:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 18:27:44 (GMT) |
commit | 7552f237a262b9b593df012fdf2ddaa0d914a1e9 (patch) | |
tree | a1992eb1d3d1d351ee44835eb6d2eb54085caad2 | |
parent | 1402d2ceca8ccef8c3538906b3f547365891d391 (diff) | |
download | cpython-7552f237a262b9b593df012fdf2ddaa0d914a1e9.zip cpython-7552f237a262b9b593df012fdf2ddaa0d914a1e9.tar.gz cpython-7552f237a262b9b593df012fdf2ddaa0d914a1e9.tar.bz2 |
bpo-25625: Document contextlib.chdir in the 3.11 what's new (#95962)
-rw-r--r-- | Doc/whatsnew/3.11.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 637d12b..7be9a50 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -495,6 +495,13 @@ asyncio holding a group of tasks that will wait for all of them upon exit. (Contributed by Yury Seliganov and others.) +contextlib +---------- + +Added non parallel-safe :func:`~contextlib.chdir` context manager to change +the current working directory and then restore it on exit. Simple wrapper +around :func:`~os.chdir`. (Contributed by Filipe LaĆns in :issue:`25625`) + datetime -------- |