summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-24 16:28:38 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-24 16:28:38 (GMT)
commitf0b17335747d335d1b4b5c1b790e1d90e762acdb (patch)
treee489cad96aa5cefb05bc816a34a3fb340231e14a /Doc/c-api
parent74b301678315068f4e1283fadcc5232cc94426ca (diff)
downloadcpython-f0b17335747d335d1b4b5c1b790e1d90e762acdb.zip
cpython-f0b17335747d335d1b4b5c1b790e1d90e762acdb.tar.gz
cpython-f0b17335747d335d1b4b5c1b790e1d90e762acdb.tar.bz2
Fix arg types of et#.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/arg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index f34e4b4..4774861 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.