summaryrefslogtreecommitdiffstats
path: root/Doc/reference/grammar.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-03 09:47:27 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-03 09:47:27 (GMT)
commit5b318c0e07073a6d1cfa453e688634eb6ba331f2 (patch)
tree9b28986f56c736cc685a706760120b513ae67760 /Doc/reference/grammar.rst
parentcca483a740a9f05a323d491d13f88c1e5815503a (diff)
downloadcpython-5b318c0e07073a6d1cfa453e688634eb6ba331f2.zip
cpython-5b318c0e07073a6d1cfa453e688634eb6ba331f2.tar.gz
cpython-5b318c0e07073a6d1cfa453e688634eb6ba331f2.tar.bz2
Merged revisions 65378-65379,65430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r65378 | georg.brandl | 2008-08-01 22:04:43 +0200 (Fri, 01 Aug 2008) | 4 lines 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. ........ r65379 | georg.brandl | 2008-08-01 22:13:29 +0200 (Fri, 01 Aug 2008) | 2 lines This should really be a comment. ........ r65430 | georg.brandl | 2008-08-03 11:21:18 +0200 (Sun, 03 Aug 2008) | 2 lines #3495: use current version. ........
Diffstat (limited to 'Doc/reference/grammar.rst')
-rw-r--r--Doc/reference/grammar.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/reference/grammar.rst b/Doc/reference/grammar.rst
new file mode 100644
index 0000000..83d0f85
--- /dev/null
+++ b/Doc/reference/grammar.rst
@@ -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