Skip to content

Commit

Permalink
bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
slateny authored Mar 14, 2022
1 parent 3dcc396 commit 879fbd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 879fbd9

Please sign in to comment.