mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Merged revisions 82597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82597 | victor.stinner | 2010-07-05 23:36:21 +0200 (lun., 05 juil. 2010) | 2 lines #9158: Fix y* format of PyArg_Parse*() functions documentation ........
This commit is contained in:
parent
f5c7bc841b
commit
d64ce7be96
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`
|
contain embedded NUL bytes; if it does, a :exc:`TypeError`
|
||||||
exception is raised.
|
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
|
This variant on ``s*`` doesn't accept Unicode objects, only objects
|
||||||
supporting the buffer protocol. **This is the recommended way to accept
|
supporting the buffer protocol. **This is the recommended way to accept
|
||||||
binary data.**
|
binary data.**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue