diff options
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r-- | Doc/library/ast.rst | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index ef36f50..5130d00 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -1,7 +1,5 @@ -.. _ast: - -Abstract Syntax Trees -===================== +:mod:`ast` --- Abstract Syntax Trees +==================================== .. module:: ast :synopsis: Abstract Syntax Tree classes and manipulation. @@ -15,6 +13,9 @@ Abstract Syntax Trees .. versionadded:: 2.6 The high-level ``ast`` module containing all helpers. +**Source code:** :source:`Lib/ast.py` + +-------------- The :mod:`ast` module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each @@ -28,11 +29,6 @@ classes all inherit from :class:`ast.AST`. An abstract syntax tree can be compiled into a Python code object using the built-in :func:`compile` function. -.. seealso:: - - Latest version of the `ast module Python source code - <http://svn.python.org/view/python/branches/release27-maint/Lib/ast.py?view=markup>`_ - Node classes ------------ |