This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Typo in os.rename docs
Type: Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Mariatta, docs@python, miss-islington, roy.wellington
Priority: normal Keywords: patch

Created on 2019-07-11 02:09 by roy.wellington, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14692 merged Mariatta, 2019-07-11 02:39
PR 14712 closed miss-islington, 2019-07-11 17:31
PR 14713 merged miss-islington, 2019-07-11 17:32
PR 14714 merged miss-islington, 2019-07-11 17:39
Messages (5)
msg347647 - (view) Author: Roy Wellington (roy.wellington) Date: 2019-07-11 02:09
The documentation for os.rename (e.g., here, https://docs.python.org/3/library/os.html#os.rename but also for 3.8 and 3.9) currently reads,

> On Unix, if src is a file and dst is a directory or vice-versa, anq:q IsADirectoryError or a NotADirectoryError will be raised respectively.

That "anq:q" should probably be just "an"; it appears someone tried to quit vim ;-)
msg347693 - (view) Author: miss-islington (miss-islington) Date: 2019-07-11 17:31
New changeset 7cbef72902f32866a416ca6c4e732af4541951b8 by Miss Islington (bot) (Mariatta) in branch 'master':
closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)
https://github.com/python/cpython/commit/7cbef72902f32866a416ca6c4e732af4541951b8
msg347694 - (view) Author: Mariatta (Mariatta) * (Python committer) Date: 2019-07-11 17:40
Thanks for the report!
msg347695 - (view) Author: miss-islington (miss-islington) Date: 2019-07-11 17:45
New changeset 107171500d7d6e60f463eeb4db492c0ae292a669 by Miss Islington (bot) in branch '3.8':
closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)
https://github.com/python/cpython/commit/107171500d7d6e60f463eeb4db492c0ae292a669
msg347697 - (view) Author: miss-islington (miss-islington) Date: 2019-07-11 17:48
New changeset 71435f685c0423f878946e584f4b9eb01233d332 by Miss Islington (bot) in branch '3.7':
closes bpo-37554: Remove `q:q` in os.rst documentation (GH-14692)
https://github.com/python/cpython/commit/71435f685c0423f878946e584f4b9eb01233d332
History
Date User Action Args
2022-04-11 14:59:17adminsetgithub: 81735
2019-07-11 17:48:05miss-islingtonsetmessages: + msg347697
2019-07-11 17:45:40miss-islingtonsetmessages: + msg347695
2019-07-11 17:40:37Mariattasetnosy: + Mariatta
messages: + msg347694
2019-07-11 17:39:42miss-islingtonsetpull_requests: + pull_request14514
2019-07-11 17:32:24miss-islingtonsetpull_requests: + pull_request14513
2019-07-11 17:31:54miss-islingtonsetstatus: open -> closed

nosy: + miss-islington
messages: + msg347693

resolution: fixed
stage: patch review -> resolved
2019-07-11 17:31:42miss-islingtonsetpull_requests: + pull_request14512
2019-07-11 02:39:44Mariattasetkeywords: + patch
stage: patch review
pull_requests: + pull_request14495
2019-07-11 02:09:44roy.wellingtoncreate