[docs] [issue13840] create_string_buffer rejects str init_or_size parameter

Vincent Pelletier report at bugs.python.org
Mon Jan 23 12:20:09 CET 2012

Vincent Pelletier <plr.vincent at gmail.com> added the comment:

Thanks for the quick reply.

FWIW, in 2.7 doc ctype.create_string_buffer is said to accept unicode objects as parameter. I don't use this personally, so I don't mind 3.x only working on bytes - and already fixed my code accordingly. It's just that I noticed this after your answer. Also, I didn't try to confirm if it actually works.


Python tracker <report at bugs.python.org>

More information about the docs mailing list