summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorFilipe Laíns <lains@riseup.net>2021-10-19 22:19:27 (GMT)
committerGitHub <noreply@github.com>2021-10-19 22:19:27 (GMT)
commit3592980f9122ab0d9ed93711347742d110b749c2 (patch)
treee1e3a4894a60187a5152c2a8c3ae648987f5f75b /Include/object.h
parentad6d162e518963711d24c80f1b7d6079bd437584 (diff)
downloadcpython-3592980f9122ab0d9ed93711347742d110b749c2.zip
cpython-3592980f9122ab0d9ed93711347742d110b749c2.tar.gz
cpython-3592980f9122ab0d9ed93711347742d110b749c2.tar.bz2
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>
Diffstat (limited to 'Include/object.h')
0 files changed, 0 insertions, 0 deletions