Commit 743d8e9c authored by Victor Stinner's avatar Victor Stinner

#9158: Fix y* format of PyArg_Parse*() functions documentation

parent 330b9cfa
......@@ -100,7 +100,7 @@ Unless otherwise stated, buffers are not NUL-terminated.
contain embedded NUL bytes; if it does, a :exc:`TypeError`
exception is raised.
``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer \*]
``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer]
This variant on ``s*`` doesn't accept Unicode objects, only objects
supporting the buffer protocol. **This is the recommended way to accept
binary data.**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment