summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-21 06:46:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-21 06:46:20 (GMT)
commit9897f0f847b1107f897862602531d5f78112d7fb (patch)
treea762326e7052ea4a1f1f82d8f8728f7cecc77a43
parent8b0d95f06e8912ad36bfefb11c8ab0030acec5a6 (diff)
downloadcpython-9897f0f847b1107f897862602531d5f78112d7fb.zip
cpython-9897f0f847b1107f897862602531d5f78112d7fb.tar.gz
cpython-9897f0f847b1107f897862602531d5f78112d7fb.tar.bz2
Oops, left in a non-standard multi-line doc string that GCC finds okay
but other compilers don't like.
-rw-r--r--Modules/structmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/structmodule.c b/Modules/structmodule.c
index cb1b36a..065ec6f 100644
--- a/Modules/structmodule.c
+++ b/Modules/structmodule.c
@@ -1208,10 +1208,10 @@ struct_pack(self, args)
}
-static char unpack__doc__[] =
-"unpack(fmt, string) -> (v1, v2, ...)
-Unpack the string, containing packed C structure data, according\n"
-"to fmt. Requires len(string)==calcsize(fmt).\n\
+static char unpack__doc__[] = "\
+unpack(fmt, string) -> (v1, v2, ...)\n\
+Unpack the string, containing packed C structure data, according\n\
+to fmt. Requires len(string)==calcsize(fmt).\n\
See struct.__doc__ for more on format strings.";
static PyObject *