diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-12 16:30:53 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-12 16:30:53 +0000 |
commit | e2c7b44c28f94eb5b5f710ff4dcf9c5607d8c37c (patch) | |
tree | 5d72fde9b7ec00750fec03f678de2aa2e4af06b1 /Modules/_struct.c | |
parent | e2b1a241e5fd6969a8a41aaa6ab60780c95f2f82 (diff) | |
download | cpython-e2c7b44c28f94eb5b5f710ff4dcf9c5607d8c37c.tar.gz |
More struct module docs and docstring tweaks.
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r-- | Modules/_struct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index 6a2748f731..02a8256a59 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -1605,7 +1605,7 @@ PyDoc_STRVAR(s_pack_into__doc__, \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 @@ calcsize(PyObject *self, PyObject *fmt) 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 @@ PyDoc_STRVAR(pack_into_doc, \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 * |