From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Jul 2019 17:48:00 +0000 (-0700) Subject: closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692) X-Git-Tag: v3.7.5rc1~254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71435f685c0423f878946e584f4b9eb01233d332;p=thirdparty%2FPython%2Fcpython.git closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692) https://bugs.python.org/issue37554 (cherry picked from commit 7cbef72902f32866a416ca6c4e732af4541951b8) Co-authored-by: Mariatta --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 24f14480ae04..5572b62420fe 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2056,7 +2056,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`