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: Correct FileIO docstrings
Type: behavior Stage: resolved
Components: Documentation, IO Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: berker.peksag Nosy List: benjamin.peterson, berker.peksag, docs@python, hynek, pitrou, python-dev, serhiy.storchaka, stutzbach, terry.chia, vstinner
Priority: normal Keywords: easy, patch

Created on 2014年06月24日 11:49 by serhiy.storchaka, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue21860.patch terry.chia, 2014年06月24日 14:56 review
Messages (6)
msg221452 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014年06月24日 11:49
Docstrings for seek() and truncate() methods of FileIO declare that they return None. Actually they return truncated size and new position respectively.
msg221463 - (view) Author: Terry Chia (terry.chia) * Date: 2014年06月24日 14:56
Is this acceptable?
msg224266 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014年07月29日 22:30
The patch looks good to me.
msg227432 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年09月24日 09:44
New changeset 2058d94f32dd by Berker Peksag in branch '3.4':
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
https://hg.python.org/cpython/rev/2058d94f32dd
New changeset de645efe6a9b by Berker Peksag in branch 'default':
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
https://hg.python.org/cpython/rev/de645efe6a9b 
msg227433 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014年09月24日 09:45
Thanks for the patch, Terry.
msg227434 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014年09月24日 09:54
New changeset be2746c565c2 by Berker Peksag in branch '2.7':
Issue #21860: Correct docstrings of FileIO.seek() and FileIO.truncate() methods.
https://hg.python.org/cpython/rev/be2746c565c2 
History
Date User Action Args
2022年04月11日 14:58:05adminsetgithub: 66059
2014年09月24日 09:54:27python-devsetmessages: + msg227434
2014年09月24日 09:45:36berker.peksagsetstatus: open -> closed

assignee: vstinner -> berker.peksag
versions: + Python 3.5, - Python 3.3
nosy: + berker.peksag

messages: + msg227433
resolution: fixed
stage: commit review -> resolved
2014年09月24日 09:44:11python-devsetnosy: + python-dev
messages: + msg227432
2014年07月31日 18:54:20serhiy.storchakasetassignee: docs@python -> vstinner
stage: needs patch -> commit review
2014年07月29日 22:30:45vstinnersetmessages: + msg224266
2014年07月22日 20:52:32serhiy.storchakasetnosy: + vstinner
2014年06月24日 14:56:08terry.chiasetfiles: + issue21860.patch

nosy: + terry.chia
messages: + msg221463

keywords: + patch
2014年06月24日 11:49:52serhiy.storchakacreate

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