From: Georg Brandl Date: Fri, 24 Jul 2009 16:28:38 +0000 (+0000) Subject: Fix arg types of et#. X-Git-Tag: v2.7a1~716 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0b17335747d335d1b4b5c1b790e1d90e762acdb;p=thirdparty%2FPython%2Fcpython.git Fix arg types of et#. --- diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index f34e4b449e32..47748611d402 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -136,7 +136,7 @@ of the C variable(s) whose address should be passed. In both cases, *\*buffer_length* is set to the length of the encoded data without the trailing NUL byte. -``et#`` (string, Unicode object or character buffer compatible object) [const char \*encoding, char \*\*buffer] +``et#`` (string, Unicode object or character buffer compatible object) [const char \*encoding, char \*\*buffer, int \*buffer_length] Same as ``es#`` except that string objects are passed through without recoding them. Instead, the implementation assumes that the string object uses the encoding passed in as parameter.