Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 62311:5295b4dbf355 3.1
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__.
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sat, 12 Jun 2010 19:44:22 +0000 |
| parents | 0f5d114eff01 |
| children | 4eac135a33af |
line wrap: on
line diff
--- a/Modules/_struct.c Sat Jun 12 19:18:51 2010 +0000 +++ b/Modules/_struct.c Sat Jun 12 19:44:22 2010 +0000 @@ -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)
