diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-05 21:38:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-05 21:38:37 (GMT) |
commit | d64ce7be9668729b6d69fa250964bab7c45040c4 (patch) | |
tree | ed1a934b3ca2845c01b2e5d6ff20ab57e4b3d730 /Doc | |
parent | f5c7bc841bc08128be92ec162926f7c56e1da878 (diff) | |
download | cpython-d64ce7be9668729b6d69fa250964bab7c45040c4.zip cpython-d64ce7be9668729b6d69fa250964bab7c45040c4.tar.gz cpython-d64ce7be9668729b6d69fa250964bab7c45040c4.tar.bz2 |
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
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/arg.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 48c09f2..a264ac0 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -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.** |