@@ -876,7 +876,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
876876 Returns a pointer to a read-only memory location useable as character-
877877 based input. The \var{obj} argument must support the single-segment
878878 character buffer interface. On success, returns \code{1}, sets
879- \var{buffer} to the memory location and \var{buffer } to the buffer
879+ \var{buffer} to the memory location and \var{buffer_len } to the buffer
880880 length. Returns \code{0} and sets a \exception{TypeError} on error.
881881 \versionadded{1.6}
882882\end{cfuncdesc}
@@ -887,7 +887,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
887887 Returns a pointer to a read-only memory location containing
888888 arbitrary data. The \var{obj} argument must support the
889889 single-segment readable buffer interface. On success, returns
890- \code{1}, sets \var{buffer} to the memory location and \var{buffer }
890+ \code{1}, sets \var{buffer} to the memory location and \var{buffer_len }
891891 to the buffer length. Returns \code{0} and sets a
892892 \exception{TypeError} on error.
893893 \versionadded{1.6}
@@ -905,7 +905,7 @@ \section{Buffer Protocol \label{abstract-buffer}}
905905 Returns a pointer to a writeable memory location. The \var{obj}
906906 argument must support the single-segment, character buffer
907907 interface. On success, returns \code{1}, sets \var{buffer} to the
908- memory location and \var{buffer } to the buffer length. Returns
908+ memory location and \var{buffer_len } to the buffer length. Returns
909909 \code{0} and sets a \exception{TypeError} on error.
910910 \versionadded{1.6}
911911\end{cfuncdesc}
0 commit comments