[issue13255] wrong docstring for array.fromunicode

2011-10-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 451fa5782145 by Florent Xicluna in branch '3.2': Issue #13255: wrong docstrings in array module. http://hg.python.org/cpython/rev/451fa5782145 -- nosy: +python-dev ___ Python tracker

[issue13255] wrong docstring for array.fromunicode

2011-10-24 Thread Florent Xicluna
New submission from Florent Xicluna : The docstring should say "ustr.encode" instead of "ustr.decode". The documentation page is correct. >>> print(array.array.fromunicode.__doc__) fromunicode(ustr) Extends this array with data from the unicode string ustr. The array must be a unicode type arra