mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
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__. ........
This commit is contained in:
parent
f9e091ae2d
commit
d12dfe231e
1 changed files with 5 additions and 1 deletions
|
@ -1669,7 +1669,11 @@ static struct PyMethodDef s_methods[] = {
|
||||||
{NULL, NULL} /* sentinel */
|
{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)
|
#define OFF(x) offsetof(PyStructObject, x)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue