From: Mariatta Date: Thu, 11 Jul 2019 17:31:19 +0000 (-0700) Subject: closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cbef72902f32866a416ca6c4e732af4541951b8;p=python closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692) https://bugs.python.org/issue37554 --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 519d558160..c74d687f08 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2098,7 +2098,7 @@ features: On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. - On Unix, if *src* is a file and *dst* is a directory or vice-versa, anq:q + On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised respectively. If both are directories and *dst* is empty, *dst* will be silently replaced. If *dst* is a non-empty directory, an :exc:`OSError`