[issue23929] Minor typo (way vs. away) in os.renames docstring

New submission from Philippe: There is a minor typo in the docstring of os.renames: See https://hg.python.org/cpython/file/37905786b34b/Lib/os.py#l275 "After the rename, directories corresponding to rightmost path segments of the old name will be pruned way until [..]" This should be using away instead of way: "After the rename, directories corresponding to rightmost path segments of the old name will be pruned away until [..]" ---------- assignee: docs@python components: Documentation messages: 240595 nosy: docs@python, pombreda priority: normal severity: normal status: open title: Minor typo (way vs. away) in os.renames docstring type: enhancement versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue23929> _______________________________________

Eric V. Smith added the comment: I think removing the word "way" would be a better improvement. ---------- nosy: +eric.smith versions: -Python 3.2, Python 3.3, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue23929> _______________________________________

Changes by Eric V. Smith <eric@trueblade.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue23929> _______________________________________

Roundup Robot added the comment: New changeset 94c3cd410cf6 by Benjamin Peterson in branch '3.4': remove useless word (closes #23929) https://hg.python.org/cpython/rev/94c3cd410cf6 New changeset feb0717c1004 by Benjamin Peterson in branch '2.7': remove useless word (closes #23929) https://hg.python.org/cpython/rev/feb0717c1004 New changeset 4f90751edb4f by Benjamin Peterson in branch 'default': merge 3.4 (#23929) https://hg.python.org/cpython/rev/4f90751edb4f ---------- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue23929> _______________________________________
participants (3)
-
Eric V. Smith
-
Philippe
-
Roundup Robot