[Python-checkins] r81962 - in python/branches/release31-maint: Modules/_struct.c
mark.dickinson
python-checkins at python.org
Sat Jun 12 21:44:22 CEST 2010
Author: mark.dickinson
Date: Sat Jun 12 21:44:22 2010
New Revision: 81962
Log:
Merged revisions 81961 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r81961 | alexander.belopolsky | 2010-06-12 20:36:28 +0100 (Sat, 12 Jun 2010) | 1 line
Issue #8973: Expanded Struct.__doc__.
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Modules/_struct.c
Modified: python/branches/release31-maint/Modules/_struct.c
==============================================================================
--- python/branches/release31-maint/Modules/_struct.c (original)
+++ python/branches/release31-maint/Modules/_struct.c Sat Jun 12 21:44:22 2010
@@ -1669,7 +1669,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