Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 62310:e585b2431c4a
Issue #8973: Expanded Struct.__doc__.
| author | Alexander Belopolsky <alexander.belopolsky@gmail.com> |
|---|---|
| date | Sat, 12 Jun 2010 19:36:28 +0000 |
| parents | 9b333bf08d45 |
| children | 7ac6148e6a7f |
line wrap: on
line diff
--- a/Modules/_struct.c Sat Jun 12 18:54:20 2010 +0000 +++ b/Modules/_struct.c Sat Jun 12 19:36:28 2010 +0000 @@ -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)
