[Python-checkins] r81961 - python/branches/py3k/Modules/_struct.c
alexander.belopolsky
python-checkins at python.org
Sat Jun 12 21:36:28 CEST 2010
Author: alexander.belopolsky
Date: Sat Jun 12 21:36:28 2010
New Revision: 81961
Log:
Issue #8973: Expanded Struct.__doc__.
Modified:
python/branches/py3k/Modules/_struct.c
Modified: python/branches/py3k/Modules/_struct.c
==============================================================================
--- python/branches/py3k/Modules/_struct.c (original)
+++ python/branches/py3k/Modules/_struct.c Sat Jun 12 21:36:28 2010
@@ -1683,7 +1683,11 @@
{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)
More information about the Python-checkins
mailing list