Oops, left in a non-standard multi-line doc string that GCC finds okay

but other compilers don't like.
This commit is contained in:
Guido van Rossum 1997-12-21 06:46:20 +00:00
parent 8b0d95f06e
commit 9897f0f847

View 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 *