Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 62314:7ac6148e6a7f
Remove unnecessary brackets from docstring optional arguments.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 13 Jun 2010 09:17:13 +0000 |
| parents | e585b2431c4a |
| children | f6266c459156 |
line wrap: on
line diff
--- a/Modules/_struct.c Sat Jun 12 19:36:28 2010 +0000 +++ b/Modules/_struct.c Sun Jun 13 09:17:13 2010 +0000 @@ -1426,7 +1426,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\ @@ -1891,7 +1891,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\
