[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-10 Thread Martin Panter
Martin Panter added the comment: Thanks for the patch. I took the liberty of also fixing the doc string of BytesIO.seek(). -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ca216f5276e by Martin Panter in branch '3.4': Issue #25030: Do not document seek() as if it accepts keyword arguments https://hg.python.org/cpython/rev/0ca216f5276e New changeset 77784422da4d by Martin Panter in branch '2.7': Issue #25030: Do not

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-08 Thread Martin Panter
Martin Panter added the comment: I will try to commit your patch today when I up to it. Maybe the “draft” status of that PEP is out of date. The slash (/) indicator is already being used in some places in pydoc, e.g. $ pydoc object.__eq__ Help on wrapper_descriptor in object: object.__eq__ =

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-08 Thread Martin Panter
Martin Panter added the comment: This also bugs me, and the same problem exists in other parts of the documentation. Perhaps you might be interested in Issue 23738 and whether changing to the new notation used by PEP 457, pydoc, help(), Argument Clinic is any good: seek(offset, whence=SEEK_SE

[issue25030] io.[Text]IOBase.seek doesn't take keyword parameter

2015-09-08 Thread shiyao.ma
New submission from shiyao.ma: 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 s