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.
| Author | introom |
|---|---|
| Recipients | berker.peksag, docs@python, ezio.melotti, introom |
| Date | 2015年09月08日.13:44:39 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1441719881.64.0.378247085729.issue25030@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The doc is here: https://docs.python.org/3.5/library/io.html#io.IOBase.seek and here: https://docs.python.org/3.5/library/io.html#io.TextIOBase.seek It is said the parameter list is in the form of: seek(offset, whence=SEEK_SET) But actually only: seek(offset) or seek(offset, whence) is allowed. Passing seek(offset, whence=SEEK_FOOBAR) will throw an error. The patch fixes the function signature as seek(offset[, whence]) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015年09月08日 13:44:41 | introom | set | recipients: + introom, ezio.melotti, docs@python, berker.peksag |
| 2015年09月08日 13:44:41 | introom | set | messageid: <1441719881.64.0.378247085729.issue25030@psf.upfronthosting.co.za> |
| 2015年09月08日 13:44:41 | introom | link | issue25030 messages |
| 2015年09月08日 13:44:41 | introom | create | |