summaryrefslogtreecommitdiffstats
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-13 09:18:16 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-13 09:18:16 (GMT)
commit1330507360f74352e8f16059e8e7af6d9b2b75bf (patch)
treee23c794258676d28b8c85f2ccb2063ce2310c1f1 /Modules/_struct.c
parentd12dfe231ec3719ba5d8ac3e399d77ea72068d49 (diff)
downloadcpython-1330507360f74352e8f16059e8e7af6d9b2b75bf.zip
cpython-1330507360f74352e8f16059e8e7af6d9b2b75bf.tar.gz
cpython-1330507360f74352e8f16059e8e7af6d9b2b75bf.tar.bz2
Merged revisions 81965 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81965 | mark.dickinson | 2010-06-13 10:17:13 +0100 (Sun, 13 Jun 2010) | 1 line Remove unnecessary brackets from docstring optional arguments. ........
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 222521b..f629817 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1412,7 +1412,7 @@ s_unpack(PyObject *self, PyObject *input)
}
PyDoc_STRVAR(s_unpack_from__doc__,
-"S.unpack_from(buffer[, offset=0]) -> (v1, v2, ...)\n\
+"S.unpack_from(buffer, offset=0) -> (v1, v2, ...)\n\
\n\
Return a tuple containing values unpacked according to the format\n\
string S.format. Requires len(buffer[offset:]) >= S.size. See\n\
@@ -1877,7 +1877,7 @@ unpack(PyObject *self, PyObject *args)
}
PyDoc_STRVAR(unpack_from_doc,
-"unpack_from(fmt, buffer[, offset=0]) -> (v1, v2, ...)\n\
+"unpack_from(fmt, buffer, offset=0) -> (v1, v2, ...)\n\
\n\
Return a tuple containing values unpacked according to the format string\n\
fmt. Requires len(buffer[offset:]) >= calcsize(fmt). See help(struct)\n\