diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-05 21:36:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-07-05 21:36:21 (GMT) |
commit | 1f1ccc038641533312a1e55964ff2e0e16861dd9 (patch) | |
tree | c98002fc9e653b9526dfad7cd37d41df6eb869fb /Doc/c-api/arg.rst | |
parent | 6c3bcb74b222f9a0cda9e5a6f21a8fe98567779f (diff) | |
download | cpython-1f1ccc038641533312a1e55964ff2e0e16861dd9.zip cpython-1f1ccc038641533312a1e55964ff2e0e16861dd9.tar.gz cpython-1f1ccc038641533312a1e55964ff2e0e16861dd9.tar.bz2 |
#9158: Fix y* format of PyArg_Parse*() functions documentation
Diffstat (limited to 'Doc/c-api/arg.rst')
-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 29d3368..72f2d96 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.** |