From 1e912d2e792d4b5d31ba2d7bec2fccd05fab16ea Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Wed, 23 Feb 2022 23:00:41 -0800 Subject: [PATCH 1/2] Update os.rst --- Doc/library/os.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 234ea3238ef998..133f4cfe18f814 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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 doesn't exist, :exc:`FileNotFoundError` is raised. .. _mkdir_modebits: From a8ce63c24cc8674854d23f57c0a3068534612083 Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Tue, 8 Mar 2022 20:08:12 +0000 Subject: [PATCH 2/2] doesn't --> does not --- Doc/library/os.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 133f4cfe18f814..158dd9d4d6c1c2 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2051,7 +2051,7 @@ features: Create a directory named *path* with numeric mode *mode*. If the directory already exists, :exc:`FileExistsError` is raised. If a parent - directory in the path doesn't exist, :exc:`FileNotFoundError` is raised. + directory in the path does not exist, :exc:`FileNotFoundError` is raised. .. _mkdir_modebits: