mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

Instead of checking if a directory does not exist and thereafter creating it, directly call os.makedirs() with the exist_ok=True.
3 lines
163 B
ReStructuredText
3 lines
163 B
ReStructuredText
Fix race condition in :mod:`trace`. Instead of checking if a directory
|
|
exists and creating it, directly call :func:`os.makedirs` with the kwarg
|
|
``exist_ok=True``.
|