[Python-Dev] cpython (3.2): Issue #13255: wrong docstrings in array module.
Antoine Pitrou
solipsis at pitrou.net
Mon Oct 24 13:54:08 CEST 2011
On Mon, 24 Oct 2011 13:17:53 +0200
florent.xicluna <python-checkins at python.org> wrote:
> @@ -2557,7 +2557,7 @@
> extend() -- extend array by appending multiple elements from an iterable\n\
> fromfile() -- read items from a file object\n\
> fromlist() -- append items from the list\n\
> -fromstring() -- append items from the string\n\
> +frombytes() -- append items from the string\n\
> index() -- return index of first occurrence of an object\n\
> insert() -- insert a new item into the array at a provided position\n\
> pop() -- remove and return item (default last)\n\
> @@ -2565,7 +2565,7 @@
> reverse() -- reverse the order of the items in the array\n\
> tofile() -- write all items to a file object\n\
> tolist() -- return the array converted to an ordinary list\n\
> -tostring() -- return the array converted to a string\n\
> +tobytes() -- return the array converted to a string\n\
The alphabetical order should probably be kept.
Regards
Antoine.
More information about the Python-Dev
mailing list