[docs] [issue11634] misleading comment on PyBytes_FromStringAndSize

STINNER Victor report at bugs.python.org
Tue Mar 22 21:22:18 CET 2011

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

PyObject *
PyBytes_FromString(const char *str)
    register size_t size;
    size = strlen(str);

PyBytes_FromString() does compute the input string size using strlen().


Python tracker <report at bugs.python.org>

More information about the docs mailing list