From ab792ac704c40e331b094a6816ba5a16072a39bd Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Mon, 13 Apr 2015 11:30:56 -0400 Subject: Doc clarification / edification on the semantics of the 'w*' format unit. --- Doc/c-api/arg.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc/c-api') 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 -- cgit v1.2.1