Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.c @ 18851:ef2031c54875 legacy-trunk
Fix buffer_info() docstring to match reality. See SF bug #444842.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 27 Jul 2001 16:05:32 +0000 |
| parents | a02085871c3f |
| children | 304b34023876 |
line wrap: on
line diff
--- a/Modules/arraymodule.c Fri Jul 27 09:22:03 2001 +0000 +++ b/Modules/arraymodule.c Fri Jul 27 16:05:32 2001 +0000 @@ -880,7 +880,9 @@ "buffer_info() -> (address, length)\n\ \n\ Return a tuple (address, length) giving the current memory address and\n\ -the length in bytes of the buffer used to hold array's contents."; +the length in items of the buffer used to hold array's contents\n\ +The length should be multiplied by the itemsize attribute to calculate\n\ +the buffer length in bytes."; static PyObject *
