summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-28 00:30:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-28 00:30:54 (GMT)
commit40d8459dbfbe2e2fbd2071a101edf0d47d668901 (patch)
treeb3e7d018b1e4f588ac8988c5c1eca7aa57a9a6f3 /Doc/lib
parent17e59053fdb04548fb306c786a25873eb8ac4f50 (diff)
downloadcpython-40d8459dbfbe2e2fbd2071a101edf0d47d668901.zip
cpython-40d8459dbfbe2e2fbd2071a101edf0d47d668901.tar.gz
cpython-40d8459dbfbe2e2fbd2071a101edf0d47d668901.tar.bz2
Add generation of the version.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libast.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libast.tex b/Doc/lib/libast.tex
index 9fdd4fb..ca798c9 100644
--- a/Doc/lib/libast.tex
+++ b/Doc/lib/libast.tex
@@ -4,6 +4,8 @@
\sectionauthor{Martin v. L\"owis}{martin@v.loewis.de}
+\versionadded{2.5}
+
The \code{_ast} module helps Python applications to process
trees of the Python abstract syntax grammar. The Python compiler
currently provides read-only access to such trees, meaning that
@@ -41,6 +43,9 @@ values are represented as Python lists.
\subsection{Abstract Grammar}
+The module defines a string constant \code{__version__} which
+is the decimal subversion revision number of the file shown below.
+
The abstract grammar is currently defined as follows:
\verbatiminput{../../Parser/Python.asdl} \ No newline at end of file