summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-11 03:58:30 (GMT)
committerMartin Panter <vadmium>2015-09-11 03:58:30 (GMT)
commitdb4220ea09c2a36b3eb7edbde40b356c9caad10d (patch)
tree3bc2009c33dcf512b5dd4fc8a28cdb7d7335f4ac /Modules
parent91c03e090a832680a57491ba44b96554eee01541 (diff)
downloadcpython-db4220ea09c2a36b3eb7edbde40b356c9caad10d.zip
cpython-db4220ea09c2a36b3eb7edbde40b356c9caad10d.tar.gz
cpython-db4220ea09c2a36b3eb7edbde40b356c9caad10d.tar.bz2
Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/bytesio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/bytesio.c b/Modules/_io/bytesio.c
index 4652356..b55ab72 100644
--- a/Modules/_io/bytesio.c
+++ b/Modules/_io/bytesio.c
@@ -530,7 +530,7 @@ bytesio_iternext(bytesio *self)
}
PyDoc_STRVAR(seek_doc,
-"seek(pos, whence=0) -> int. Change stream position.\n"
+"seek(pos[, whence]) -> int. Change stream position.\n"
"\n"
"Seek to byte offset pos relative to position indicated by whence:\n"
" 0 Start of stream (the default). pos should be >= 0;\n"