Skip to content

Commit

Permalink
[3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFound…
Browse files Browse the repository at this point in the history
…Error (GH-31548) (GH-31878)

(cherry picked from commit 879fbd9)


Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>

Automerge-Triggered-By: GH:iritkatriel
  • Loading branch information
miss-islington committed Mar 14, 2022
1 parent 649cc9d commit b4fd91b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/library/os.rst
Expand Up @@ -1909,7 +1909,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 b4fd91b

Please sign in to comment.