[Python-checkins] r65378 - in python/trunk/Doc/reference: grammar.rst index.rst
georg.brandl
python-checkins at python.org
Fri Aug 1 22:04:44 CEST 2008
Author: georg.brandl
Date: Fri Aug 1 22:04:43 2008
New Revision: 65378
Log:
Add the grammar to the reference manual, since the new docs don't
have the feature of putting all the small EBNF snippets together
into one big file.
Added:
python/trunk/Doc/reference/grammar.rst
Modified:
python/trunk/Doc/reference/index.rst
Added: python/trunk/Doc/reference/grammar.rst
==============================================================================
--- (empty file)
+++ python/trunk/Doc/reference/grammar.rst Fri Aug 1 22:04:43 2008
@@ -0,0 +1,7 @@
+Full Grammar specification
+==========================
+
+This is the full Python grammar, as it is read by the parser generator and used
+to parse Python source files:
+
+.. literalinclude:: ../../Grammar/Grammar
Modified: python/trunk/Doc/reference/index.rst
==============================================================================
--- python/trunk/Doc/reference/index.rst (original)
+++ python/trunk/Doc/reference/index.rst Fri Aug 1 22:04:43 2008
@@ -27,4 +27,4 @@
simple_stmts.rst
compound_stmts.rst
toplevel_components.rst
-
+ grammar.rst
More information about the Python-checkins
mailing list