mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-36766: Typos in docs and code comments (GH-13116)
This commit is contained in:
parent
3921b1cc34
commit
9646630895
22 changed files with 22 additions and 22 deletions
|
@ -1006,7 +1006,7 @@ def temp_dir(path=None, quiet=False):
|
|||
yield path
|
||||
finally:
|
||||
# In case the process forks, let only the parent remove the
|
||||
# directory. The child has a diffent process id. (bpo-30028)
|
||||
# directory. The child has a different process id. (bpo-30028)
|
||||
if dir_created and pid == os.getpid():
|
||||
rmtree(path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue