[Python-3000-checkins] r65432 - in python/branches/py3k: Doc/library/site.rst Doc/reference/grammar.rst Doc/reference/index.rst Doc/reference/simple_stmts.rst

georg.brandl python-3000-checkins at python.org
Sun Aug 3 11:47:28 CEST 2008


Author: georg.brandl
Date: Sun Aug  3 11:47:27 2008
New Revision: 65432

Log:
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.
........


Added:
   python/branches/py3k/Doc/reference/grammar.rst
Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Doc/library/site.rst
   python/branches/py3k/Doc/reference/index.rst
   python/branches/py3k/Doc/reference/simple_stmts.rst

Modified: python/branches/py3k/Doc/library/site.rst
==============================================================================
--- python/branches/py3k/Doc/library/site.rst	(original)
+++ python/branches/py3k/Doc/library/site.rst	Sun Aug  3 11:47:27 2008
@@ -61,8 +61,8 @@
 
 Then the following directories are added to ``sys.path``, in this order::
 
-   /usr/local/lib/python2.3/site-packages/bar
-   /usr/local/lib/python2.3/site-packages/foo
+   /usr/local/lib/python2.6/site-packages/bar
+   /usr/local/lib/python2.6/site-packages/foo
 
 Note that :file:`bletch` is omitted because it doesn't exist; the :file:`bar`
 directory precedes the :file:`foo` directory because :file:`bar.pth` comes

Added: python/branches/py3k/Doc/reference/grammar.rst
==============================================================================
--- (empty file)
+++ python/branches/py3k/Doc/reference/grammar.rst	Sun Aug  3 11:47:27 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/branches/py3k/Doc/reference/index.rst
==============================================================================
--- python/branches/py3k/Doc/reference/index.rst	(original)
+++ python/branches/py3k/Doc/reference/index.rst	Sun Aug  3 11:47:27 2008
@@ -27,4 +27,4 @@
    simple_stmts.rst
    compound_stmts.rst
    toplevel_components.rst
-
+   grammar.rst

Modified: python/branches/py3k/Doc/reference/simple_stmts.rst
==============================================================================
--- python/branches/py3k/Doc/reference/simple_stmts.rst	(original)
+++ python/branches/py3k/Doc/reference/simple_stmts.rst	Sun Aug  3 11:47:27 2008
@@ -727,10 +727,13 @@
 the module search path is carried out differently.  The sequence of identifiers
 up to the last dot is used to find a "package"; the final identifier is then
 searched inside the package.  A package is generally a subdirectory of a
-directory on ``sys.path`` that has a file :file:`__init__.py`. [XXX Can't be
-bothered to spell this out right now; see the URL
-http://www.python.org/doc/essays/packages.html for more details, also about how
-the module search works from inside a package.]
+directory on ``sys.path`` that has a file :file:`__init__.py`.
+
+.. 
+   [XXX Can't be
+   bothered to spell this out right now; see the URL
+   http://www.python.org/doc/essays/packages.html for more details, also about how
+   the module search works from inside a package.]
 
 .. index:: builtin: __import__
 


More information about the Python-3000-checkins mailing list