diff options
author | Guido van Rossum <guido@python.org> | 2001-07-27 16:05:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-27 16:05:32 (GMT) |
commit | 702d08ec05ba66831b5c95a9643a7ebbb6d67795 (patch) | |
tree | eec1db2034776b5180487c866f43d706a9b11584 | |
parent | b4a7db7736069ad8c3aeaf5840d64a247b1f999f (diff) | |
download | cpython-702d08ec05ba66831b5c95a9643a7ebbb6d67795.zip cpython-702d08ec05ba66831b5c95a9643a7ebbb6d67795.tar.gz cpython-702d08ec05ba66831b5c95a9643a7ebbb6d67795.tar.bz2 |
Fix buffer_info() docstring to match reality. See SF bug #444842.
-rw-r--r-- | Modules/arraymodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index de90da9..6168bb0 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -880,7 +880,9 @@ static char buffer_info_doc [] = "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 * |