]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix arg types of et#.
authorGeorg Brandl <georg@python.org>
Fri, 24 Jul 2009 16:28:38 +0000 (16:28 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 24 Jul 2009 16:28:38 +0000 (16:28 +0000)
Doc/c-api/arg.rst

index f34e4b449e32c0c518a041b8dcfeface00094b91..47748611d4029e14e9597e8e95d84c9541f837d0 100644 (file)
@@ -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.