]> granicus.if.org Git - python/commitdiff
Oops, left in a non-standard multi-line doc string that GCC finds okay
authorGuido van Rossum <guido@python.org>
Sun, 21 Dec 1997 06:46:20 +0000 (06:46 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 21 Dec 1997 06:46:20 +0000 (06:46 +0000)
but other compilers don't like.

Modules/structmodule.c

index cb1b36ae458f68a7bb37b9681ecba75c65cc05e2..065ec6f5adf25c0c1709f016320acb860b7e3733 100644 (file)
@@ -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 *