[docs] [issue37465] Incorrect documentation for `s#` arguments in C API argument parsing

Inada Naoki report at bugs.python.org
Tue Jul 2 00:22:36 EDT 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

> Oh! Fair enough, I had missed it. Does the note also involve `Py_BuildValue`? If so, the documentation of `Py_BuildValue` should probably be updated; if not, I think it would be clearer if the note mentioned that it only applies to parsing, not building, values.

Yes, this is same to Py_BuildValue.  The document of Py_BuildValue
should be `int or Py_ssize_t` too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37465>
_______________________________________


More information about the docs mailing list