Commit 0bd003a5 authored by Alexander Belopolsky's avatar Alexander Belopolsky

Issue #8973: Expanded Struct.__doc__.

parent 8d81c6a6
......@@ -1683,7 +1683,11 @@ static struct PyMethodDef s_methods[] = {
{NULL, NULL} /* sentinel */
};
PyDoc_STRVAR(s__doc__, "Compiled struct object");
PyDoc_STRVAR(s__doc__,
"Struct(fmt) --> compiled struct object\n"
"\n"
"Return a new Struct object which writes and reads binary data according to\n"
"the format string fmt. See help(struct) for more on format strings.");
#define OFF(x) offsetof(PyStructObject, x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment