summaryrefslogtreecommitdiff
path: root/Doc/c-api/arg.rst
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-04-13 11:30:56 -0400
committerLarry Hastings <larry@hastings.org>2015-04-13 11:30:56 -0400
commitd329ab4e9f9ab55cb43a5f943ca29d8483ad10ad (patch)
treef48bc629bb7d9e3438a90b338405bf5dd2fad358 /Doc/c-api/arg.rst
parent0a831ffa64debc669174eed7b4a1c91a7cbbdc9d (diff)
downloadcpython-d329ab4e9f9ab55cb43a5f943ca29d8483ad10ad.tar.gz
Doc clarification / edification on the semantics of the 'w*' format unit.
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r--Doc/c-api/arg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index 3c0f4b98cd..ed62deaec1 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -152,7 +152,7 @@ Unless otherwise stated, buffers are not NUL-terminated.
any conversion. Raises :exc:`TypeError` if the object is not a Unicode
object. The C variable may also be declared as :c:type:`PyObject\*`.
-``w*`` (:class:`bytearray` or read-write byte-oriented buffer) [Py_buffer]
+``w*`` (read-write :term:`bytes-like object`) [Py_buffer]
This format accepts any object which implements the read-write buffer
interface. It fills a :c:type:`Py_buffer` structure provided by the caller.
The buffer may contain embedded null bytes. The caller have to call