Message146292
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. |
|
Date |
User |
Action |
Args |
2011-10-24 10:48:07 | flox | set | recipients:
+ flox, docs@python |
2011-10-24 10:48:07 | flox | set | messageid: <1319453287.77.0.97617561601.issue13255@psf.upfronthosting.co.za> |
2011-10-24 10:48:07 | flox | link | issue13255 messages |
2011-10-24 10:48:06 | flox | create | |
|