mirror of https://github.com/python/cpython
bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548)
This commit is contained in:
parent
3dcc396219
commit
879fbd9472
|
@ -2050,7 +2050,8 @@ features:
|
|||
|
||||
Create a directory named *path* with numeric mode *mode*.
|
||||
|
||||
If the directory already exists, :exc:`FileExistsError` is raised.
|
||||
If the directory already exists, :exc:`FileExistsError` is raised. If a parent
|
||||
directory in the path does not exist, :exc:`FileNotFoundError` is raised.
|
||||
|
||||
.. _mkdir_modebits:
|
||||
|
||||
|
|
Loading…
Reference in New Issue