[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31877)

(cherry picked from commit 879fbd9472)


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

Automerge-Triggered-By: GH:iritkatriel
This commit is contained in:
Miss Islington (bot) 2022-03-14 13:50:41 -07:00 committed by GitHub
parent c682840834
commit efa7250159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2041,7 +2041,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: