diff Modules/_struct.c @ 62315:4eac135a33af 3.1

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. ........
author Mark Dickinson <dickinsm@gmail.com>
date Sun, 13 Jun 2010 09:18:16 +0000
parents 5295b4dbf355
children 55a024f51524
line wrap: on
line diff
--- a/Modules/_struct.c	Sat Jun 12 19:44:22 2010 +0000
+++ b/Modules/_struct.c	Sun Jun 13 09:18:16 2010 +0000
@@ -1412,7 +1412,7 @@
 }
 
 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 @@
 }
 
 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\