mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-25625: Document contextlib.chdir in the 3.11 what's new (#95962)
This commit is contained in:
parent
1402d2ceca
commit
7552f237a2
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
--------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue