From: Guido van Rossum Date: Sun, 21 Dec 1997 06:46:20 +0000 (+0000) Subject: Oops, left in a non-standard multi-line doc string that GCC finds okay X-Git-Tag: v1.5~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9897f0f847b1107f897862602531d5f78112d7fb;p=python Oops, left in a non-standard multi-line doc string that GCC finds okay but other compilers don't like. --- diff --git a/Modules/structmodule.c b/Modules/structmodule.c index cb1b36ae45..065ec6f5ad 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 *