diff Doc/lib/libsys.tex @ 25099:a69a12484d69 legacy-trunk

expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.
author Skip Montanaro <skip@pobox.com>
date Tue, 03 Sep 2002 13:25:17 +0000
parents 3895b78d3ee0
children 4a825b902310
line wrap: on
line diff
--- a/Doc/lib/libsys.tex	Tue Sep 03 11:52:44 2002 +0000
+++ b/Doc/lib/libsys.tex	Tue Sep 03 13:25:17 2002 +0000
@@ -459,6 +459,12 @@
 \end{verbatim}
 \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:
   \var{major}, \var{minor}, \var{micro}, \var{releaselevel}, and