commit | 3592980f9122ab0d9ed93711347742d110b749c2 | [log] [tgz] |
---|---|---|
author | Filipe Laíns <lains@riseup.net> | Tue Oct 19 23:19:27 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Oct 20 00:19:27 2021 +0200 |
tree | e1e3a4894a60187a5152c2a8c3ae648987f5f75b | |
parent | ad6d162e518963711d24c80f1b7d6079bd437584 [diff] |
bpo-25625: add contextlib.chdir (GH-28271) 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`. Signed-off-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Łukasz Langa <lukasz@langa.pl>