[Python-checkins] CVS: python/dist/src/Doc/ext ext.tex,1.87,1.88

Fred L. Drake python-dev@python.org
Thu, 2 Nov 2000 13:49:42 -0800


Update of /cvsroot/python/python/dist/src/Doc/ext
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22968

Modified Files:
	ext.tex 
Log Message:

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].


Index: ext.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/ext.tex,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** ext.tex	2000/10/26 17:19:58	1.87
--- ext.tex	2000/11/02 21:49:17	1.88
***************
*** 719,726 ****
  
  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
  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 encoding name must map to a registered codec. If set to \NULL{},
--- 719,725 ----
  
  The variant reads one C variable and stores into two C variables, 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).
  
  The encoding name must map to a registered codec. If set to \NULL{},
***************
*** 2139,2143 ****
  \begin{verbatim}
  >>> import distutils.sysconfig
! >>> distutils.sysconfig.LINKFORSHARED 
  '-Xlinker -export-dynamic'
  \end{verbatim}
--- 2138,2142 ----
  \begin{verbatim}
  >>> import distutils.sysconfig
! >>> distutils.sysconfig.get_config_var('LINKFORSHARED')
  '-Xlinker -export-dynamic'
  \end{verbatim}