Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 62299:9b333bf08d45
More struct module docs and docstring tweaks.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sat, 12 Jun 2010 16:30:53 +0000 |
| parents | 9550eda1c096 |
| children | e585b2431c4a |
line wrap: on
line diff
--- a/Modules/_struct.c Sat Jun 12 15:43:45 2010 +0000 +++ b/Modules/_struct.c Sat Jun 12 16:30:53 2010 +0000 @@ -1605,7 +1605,7 @@ \n\ Pack the values v1, v2, ... according to the format string S.format\n\ and write the packed bytes into the writable buffer buf starting at\n\ -offset. Note that the offset is not an optional argument. See\n\ +offset. Note that the offset is a required argument. See\n\ help(struct) for more on format strings."); static PyObject * @@ -1800,8 +1800,8 @@ PyDoc_STRVAR(pack_doc, "pack(fmt, v1, v2, ...) -> bytes\n\ \n\ -Return a bytes object containing values v1, v2, ... packed according to\n\ -the format string fmt. See help(struct) for more on format strings."); +Return a bytes object containing the values v1, v2, ... packed according\n\ +to the format string fmt. See help(struct) for more on format strings."); static PyObject * pack(PyObject *self, PyObject *args) @@ -1834,7 +1834,7 @@ \n\ Pack the values v1, v2, ... according to the format string fmt and write\n\ the packed bytes into the writable buffer buf starting at offset. Note\n\ -that the offset is not an optional argument. See help(struct) for more\n\ +that the offset is a required argument. See help(struct) for more\n\ on format strings."); static PyObject *
