mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
#9158: Fix y* format of PyArg_Parse*() functions documentation
This commit is contained in:
parent
6c3bcb74b2
commit
1f1ccc0386
1 changed files with 1 additions and 1 deletions
|
|
@ -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.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue