[docs] [issue13840] create_string_buffer rejects str init_or_size parameter

Georg Brandl report at bugs.python.org
Mon Jan 23 08:58:50 CET 2012


Georg Brandl <georg at python.org> added the comment:

It should only take bytes; "str" is Unicode in 3.x.

So the docs and the error message are wrong, the behavior is correct.  Reclassifying as a docs issue.

----------
assignee:  -> docs at python
components: +Documentation -ctypes
nosy: +docs at python, georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13840>
_______________________________________


More information about the docs mailing list