Skip to content

Commit 7552f23

Browse files
authored
bpo-25625: Document contextlib.chdir in the 3.11 what's new (#95962)
1 parent 1402d2c commit 7552f23

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.11.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,13 @@ asyncio
495495
holding a group of tasks that will wait for all of them upon exit.
496496
(Contributed by Yury Seliganov and others.)
497497

498+
contextlib
499+
----------
500+
501+
Added non parallel-safe :func:`~contextlib.chdir` context manager to change
502+
the current working directory and then restore it on exit. Simple wrapper
503+
around :func:`~os.chdir`. (Contributed by Filipe Laíns in :issue:`25625`)
504+
498505
datetime
499506
--------
500507

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy