[Python-checkins] python/dist/src/Doc/lib libsys.tex,1.59,1.60

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Tue, 03 Sep 2002 06:25:19 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10514/Doc/lib

Modified Files:
	libsys.tex 
Log Message:
expose PYTHON_API_VERSION macro as sys.api_version.  Closes patch # 601456.


Index: libsys.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libsys.tex,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** libsys.tex	15 Jul 2002 16:08:10 -0000	1.59
--- libsys.tex	3 Sep 2002 13:25:17 -0000	1.60
***************
*** 460,463 ****
--- 460,469 ----
  \end{datadesc}
  
+ \begin{datadesc}{api_version}
+   The C API version for this interpreter.  Programmers may find this useful
+   when debugging version conflicts between Python and extension
+   modules. \versionadded{2.3}
+ \end{datadesc}
+ 
  \begin{datadesc}{version_info}
    A tuple containing the five components of the version number: