This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients docs@python, flox
Date 2011-10-24.10:48:06
SpamBayes Score 2.7942718e-07
Marked as misclassified No
Message-id <1319453287.77.0.97617561601.issue13255@psf.upfronthosting.co.za>
In-reply-to
Content
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 array; otherwise a ValueError
is raised.  Use array.frombytes(ustr.decode(...)) to
append Unicode data to an array of some other type.
History
Date User Action Args
2011-10-24 10:48:07floxsetrecipients: + flox, docs@python
2011-10-24 10:48:07floxsetmessageid: <1319453287.77.0.97617561601.issue13255@psf.upfronthosting.co.za>
2011-10-24 10:48:07floxlinkissue13255 messages
2011-10-24 10:48:06floxcreate