diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-08 22:54:19 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-08 22:54:19 (GMT) |
commit | 3dcb5acdb0151d1686762329ec07ae2ac4d1caae (patch) | |
tree | 1b9d0230afafafa0cff920c7f55c9ca98e433719 /Doc/c-api | |
parent | 1fbd36b51d1bf65bc110e51840bede646b58f2d5 (diff) | |
download | cpython-3dcb5acdb0151d1686762329ec07ae2ac4d1caae.zip cpython-3dcb5acdb0151d1686762329ec07ae2ac4d1caae.tar.gz cpython-3dcb5acdb0151d1686762329ec07ae2ac4d1caae.tar.bz2 |
Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing format
Remove last references to the "char buffer" of the buffer protocol from
Python3.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/arg.rst | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index c8d9851..c5ec768 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -150,13 +150,6 @@ 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 :ctype:`PyObject\*`. -``t#`` (:class:`bytes`, :class:`bytearray` or read-only character buffer) [char \*, int] - Like ``s#``, but accepts any object which implements the read-only buffer - interface. The :ctype:`char\*` variable is set to point to the first byte of - the buffer, and the :ctype:`int` is set to the length of the buffer. Only - single-segment buffer objects are accepted; :exc:`TypeError` is raised for all - others. - ``w`` (:class:`bytearray` or read-write character buffer) [char \*] Similar to ``s``, but accepts any object which implements the read-write buffer interface. The caller must determine the length of the buffer by other means, |