Commit 6a985c35 authored by Florent Xicluna's avatar Florent Xicluna

Merge 3.2.

parents 39411f60 c45fb25f
...@@ -338,6 +338,8 @@ Core and Builtins ...@@ -338,6 +338,8 @@ Core and Builtins
Library Library
------- -------
- Issue #13255: wrong docstrings in array module.
- Issue #8540: Remove deprecated Context._clamp attribute in Decimal module. - Issue #8540: Remove deprecated Context._clamp attribute in Decimal module.
- Issue #13235: Added PendingDeprecationWarning to warn() method and function. - Issue #13235: Added PendingDeprecationWarning to warn() method and function.
......
...@@ -1550,7 +1550,7 @@ PyDoc_STRVAR(fromunicode_doc, ...@@ -1550,7 +1550,7 @@ PyDoc_STRVAR(fromunicode_doc,
\n\ \n\
Extends this array with data from the unicode string ustr.\n\ Extends this array with data from the unicode string ustr.\n\
The array must be a unicode type array; otherwise a ValueError\n\ The array must be a unicode type array; otherwise a ValueError\n\
is raised. Use array.frombytes(ustr.decode(...)) to\n\ is raised. Use array.frombytes(ustr.encode(...)) to\n\
append Unicode data to an array of some other type."); append Unicode data to an array of some other type.");
...@@ -1572,7 +1572,7 @@ PyDoc_STRVAR(tounicode_doc, ...@@ -1572,7 +1572,7 @@ PyDoc_STRVAR(tounicode_doc,
\n\ \n\
Convert the array to a unicode string. The array must be\n\ Convert the array to a unicode string. The array must be\n\
a unicode type array; otherwise a ValueError is raised. Use\n\ a unicode type array; otherwise a ValueError is raised. Use\n\
array.tostring().decode() to obtain a unicode string from\n\ array.tobytes().decode() to obtain a unicode string from\n\
an array of some other type."); an array of some other type.");
...@@ -2636,7 +2636,7 @@ count() -- return number of occurrences of an object\n\ ...@@ -2636,7 +2636,7 @@ count() -- return number of occurrences of an object\n\
extend() -- extend array by appending multiple elements from an iterable\n\ extend() -- extend array by appending multiple elements from an iterable\n\
fromfile() -- read items from a file object\n\ fromfile() -- read items from a file object\n\
fromlist() -- append items from the list\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\ index() -- return index of first occurrence of an object\n\
insert() -- insert a new item into the array at a provided position\n\ insert() -- insert a new item into the array at a provided position\n\
pop() -- remove and return item (default last)\n\ pop() -- remove and return item (default last)\n\
...@@ -2644,7 +2644,7 @@ remove() -- remove first occurrence of an object\n\ ...@@ -2644,7 +2644,7 @@ remove() -- remove first occurrence of an object\n\
reverse() -- reverse the order of the items in the array\n\ reverse() -- reverse the order of the items in the array\n\
tofile() -- write all items to a file object\n\ tofile() -- write all items to a file object\n\
tolist() -- return the array converted to an ordinary list\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\
\n\ \n\
Attributes:\n\ Attributes:\n\
\n\ \n\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment