diff options
author | Skip Montanaro <skip@pobox.com> | 2002-09-03 13:25:17 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-09-03 13:25:17 (GMT) |
commit | 8e790e700777cdb0fdecf3acaf53d5ad06784501 (patch) | |
tree | c97e4f4b1b7e606ab12c7671b1b6e9ed5fe7ebbd /Doc/lib/libsys.tex | |
parent | f62a89b1e09d84fbd60e0356b87430a6ff1e352d (diff) | |
download | cpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.zip cpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.tar.gz cpython-8e790e700777cdb0fdecf3acaf53d5ad06784501.tar.bz2 |
expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r-- | Doc/lib/libsys.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 4aa2d4a..eec02e0 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -459,6 +459,12 @@ else: \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 |