homepage

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: Minor typo (way vs. away) in os.renames docstring
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eric.smith, pombredanne, python-dev
Priority: normal Keywords: easy

Created on 2015年04月13日 07:30 by pombredanne, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Messages (3)
msg240595 - (view) Author: Philippe Ombredanne (pombredanne) * Date: 2015年04月13日 07:30
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 [..]"
msg240598 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2015年04月13日 09:09
I think removing the word "way" would be a better improvement.
msg240814 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015年04月14日 00:25
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 
History
Date User Action Args
2022年04月11日 14:58:15adminsetgithub: 68117
2015年04月14日 00:25:21python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg240814

resolution: fixed
stage: resolved
2015年04月13日 09:09:21eric.smithsetkeywords: + easy
2015年04月13日 09:09:05eric.smithsetnosy: + eric.smith

messages: + msg240598
versions: - Python 3.2, Python 3.3, Python 3.6
2015年04月13日 07:30:11pombredannecreate

AltStyle によって変換されたページ (->オリジナル) /