diff options
author | Fred Drake <fdrake@acm.org> | 2000-11-02 21:49:17 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-11-02 21:49:17 (GMT) |
commit | 4bc0aed3a646685780fd5dc10bb396d9b0f060c0 (patch) | |
tree | 27a86cc7d0302490edf4e0ccec689aaf815c9946 /Doc/ext | |
parent | 262cf20f0c67208e01c83e68b9d79118fe3efdf0 (diff) | |
download | cpython-4bc0aed3a646685780fd5dc10bb396d9b0f060c0.zip cpython-4bc0aed3a646685780fd5dc10bb396d9b0f060c0.tar.gz cpython-4bc0aed3a646685780fd5dc10bb396d9b0f060c0.tar.bz2 |
Fix cut & paste error that describes three paramters when there are only
two [bug #119729].
Update use of distutils.sysconfig that "broke" when Greg W. changed the API
[bug #119645].
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/ext.tex | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex index 46a181a..1f80a37 100644 --- a/Doc/ext/ext.tex +++ b/Doc/ext/ext.tex @@ -718,10 +718,9 @@ convertible to Unicode into a character buffer. It only works for encoded data without embedded \NULL{} bytes. The variant reads one C variable and stores into two C variables, the -first one a pointer to an encoding name string (\var{encoding}), the +first one a pointer to an encoding name string (\var{encoding}), and the second a pointer to a pointer to a character buffer (\var{**buffer}, -the buffer used for storing the encoded data) and the third one a -pointer to an integer (\var{*buffer_length}, the buffer length). +the buffer used for storing the encoded data). The encoding name must map to a registered codec. If set to \NULL{}, the default encoding is used. @@ -2138,7 +2137,7 @@ start an interactive interpreter and have a short session like this: \begin{verbatim} >>> import distutils.sysconfig ->>> distutils.sysconfig.LINKFORSHARED +>>> distutils.sysconfig.get_config_var('LINKFORSHARED') '-Xlinker -export-dynamic' \end{verbatim} \refstmodindex{distutils.sysconfig} |