[Python-checkins] r56992 - in doctools/trunk: Doc-26/library/parser.rst Doc-26/library/pprint.rst Doc-26/library/termios.rst Doc-26/library/zipimport.rst Doc-26/reference/lexical_analysis.rst Doc-3k/library/parser.rst Doc-3k/library/pprint.rst Doc-3k/library/termios.rst Doc-3k/library/zipimport.rst Doc-3k/reference/lexical_analysis.rst

georg.brandl python-checkins at python.org
Mon Aug 13 21:58:17 CEST 2007


Author: georg.brandl
Date: Mon Aug 13 21:58:15 2007
New Revision: 56992

Modified:
   doctools/trunk/Doc-26/library/parser.rst
   doctools/trunk/Doc-26/library/pprint.rst
   doctools/trunk/Doc-26/library/termios.rst
   doctools/trunk/Doc-26/library/zipimport.rst
   doctools/trunk/Doc-26/reference/lexical_analysis.rst
   doctools/trunk/Doc-3k/library/parser.rst
   doctools/trunk/Doc-3k/library/pprint.rst
   doctools/trunk/Doc-3k/library/termios.rst
   doctools/trunk/Doc-3k/library/zipimport.rst
   doctools/trunk/Doc-3k/reference/lexical_analysis.rst
Log:
More small fixes.


Modified: doctools/trunk/Doc-26/library/parser.rst
==============================================================================
--- doctools/trunk/Doc-26/library/parser.rst	(original)
+++ doctools/trunk/Doc-26/library/parser.rst	Mon Aug 13 21:58:15 2007
@@ -95,7 +95,7 @@
       testing node values.
 
 
-.. _creating asts:
+.. _creating-asts:
 
 Creating AST Objects
 --------------------
@@ -149,7 +149,7 @@
    maintained for backward compatibility.
 
 
-.. _converting asts:
+.. _converting-asts:
 
 Converting AST Objects
 ----------------------
@@ -210,7 +210,7 @@
    tree.
 
 
-.. _querying asts:
+.. _querying-asts:
 
 Queries on AST Objects
 ----------------------
@@ -240,7 +240,7 @@
    syntactic fragments may be supported in the future.
 
 
-.. _ast errors:
+.. _ast-errors:
 
 Exceptions and Error Handling
 -----------------------------
@@ -269,7 +269,7 @@
 Refer to the descriptions of each function for detailed information.
 
 
-.. _ast objects:
+.. _ast-objects:
 
 AST Objects
 -----------
@@ -311,7 +311,7 @@
    Same as ``ast2tuple(ast, line_info)``.
 
 
-.. _ast examples:
+.. _ast-examples:
 
 Examples
 --------

Modified: doctools/trunk/Doc-26/library/pprint.rst
==============================================================================
--- doctools/trunk/Doc-26/library/pprint.rst	(original)
+++ doctools/trunk/Doc-26/library/pprint.rst	Mon Aug 13 21:58:15 2007
@@ -148,7 +148,7 @@
    1.5/sharedmodules', '/usr/local/lib/python1.5/tkinter']"
 
 
-.. _prettyprinter objects:
+.. _prettyprinter-objects:
 
 PrettyPrinter Objects
 ---------------------

Modified: doctools/trunk/Doc-26/library/termios.rst
==============================================================================
--- doctools/trunk/Doc-26/library/termios.rst	(original)
+++ doctools/trunk/Doc-26/library/termios.rst	Mon Aug 13 21:58:15 2007
@@ -83,7 +83,7 @@
 Example
 -------
 
-.. _termios example:
+.. _termios-example:
 
 Here's a function that prompts for a password with echoing turned off.  Note the
 technique using a separate :func:`tcgetattr` call and a :keyword:`try` ...

Modified: doctools/trunk/Doc-26/library/zipimport.rst
==============================================================================
--- doctools/trunk/Doc-26/library/zipimport.rst	(original)
+++ doctools/trunk/Doc-26/library/zipimport.rst	Mon Aug 13 21:58:15 2007
@@ -119,7 +119,7 @@
 Examples
 --------
 
-.. _zipimport examples:
+.. _zipimport-examples:
 
 Here is an example that imports a module from a ZIP archive - note that the
 :mod:`zipimport` module is not explicitly used. ::

Modified: doctools/trunk/Doc-26/reference/lexical_analysis.rst
==============================================================================
--- doctools/trunk/Doc-26/reference/lexical_analysis.rst	(original)
+++ doctools/trunk/Doc-26/reference/lexical_analysis.rst	Mon Aug 13 21:58:15 2007
@@ -343,12 +343,7 @@
 
 The following identifiers are used as reserved words, or *keywords* of the
 language, and cannot be used as ordinary identifiers.  They must be spelled
-exactly as written here:
-
-.. % 
-.. % 
-
-::
+exactly as written here::
 
    and       del       from      not       while    
    as        elif      global    or        with     
@@ -358,8 +353,6 @@
    continue  finally   is        return             
    def       for       lambda    try 
 
-.. % When adding keywords, use reswords.py for reformatting
-
 .. versionchanged:: 2.4
    :const:`None` became a constant and is now recognized by the compiler as a name
    for the built-in object :const:`None`.  Although it is not a keyword, you cannot

Modified: doctools/trunk/Doc-3k/library/parser.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/parser.rst	(original)
+++ doctools/trunk/Doc-3k/library/parser.rst	Mon Aug 13 21:58:15 2007
@@ -95,7 +95,7 @@
       testing node values.
 
 
-.. _creating asts:
+.. _creating-asts:
 
 Creating AST Objects
 --------------------
@@ -149,7 +149,7 @@
    maintained for backward compatibility.
 
 
-.. _converting asts:
+.. _converting-asts:
 
 Converting AST Objects
 ----------------------
@@ -212,7 +212,7 @@
    tree.
 
 
-.. _querying asts:
+.. _querying-asts:
 
 Queries on AST Objects
 ----------------------
@@ -242,7 +242,7 @@
    syntactic fragments may be supported in the future.
 
 
-.. _ast errors:
+.. _ast-errors:
 
 Exceptions and Error Handling
 -----------------------------
@@ -271,7 +271,7 @@
 Refer to the descriptions of each function for detailed information.
 
 
-.. _ast objects:
+.. _ast-objects:
 
 AST Objects
 -----------
@@ -313,7 +313,7 @@
    Same as ``ast2tuple(ast, line_info)``.
 
 
-.. _ast examples:
+.. _ast-examples:
 
 Examples
 --------

Modified: doctools/trunk/Doc-3k/library/pprint.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/pprint.rst	(original)
+++ doctools/trunk/Doc-3k/library/pprint.rst	Mon Aug 13 21:58:15 2007
@@ -148,7 +148,7 @@
    1.5/sharedmodules', '/usr/local/lib/python1.5/tkinter']"
 
 
-.. _prettyprinter objects:
+.. _prettyprinter-objects:
 
 PrettyPrinter Objects
 ---------------------

Modified: doctools/trunk/Doc-3k/library/termios.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/termios.rst	(original)
+++ doctools/trunk/Doc-3k/library/termios.rst	Mon Aug 13 21:58:15 2007
@@ -83,7 +83,7 @@
 Example
 -------
 
-.. _termios example:
+.. _termios-example:
 
 Here's a function that prompts for a password with echoing turned off.  Note the
 technique using a separate :func:`tcgetattr` call and a :keyword:`try` ...

Modified: doctools/trunk/Doc-3k/library/zipimport.rst
==============================================================================
--- doctools/trunk/Doc-3k/library/zipimport.rst	(original)
+++ doctools/trunk/Doc-3k/library/zipimport.rst	Mon Aug 13 21:58:15 2007
@@ -115,7 +115,7 @@
 Examples
 --------
 
-.. _zipimport examples:
+.. _zipimport-examples:
 
 Here is an example that imports a module from a ZIP archive - note that the
 :mod:`zipimport` module is not explicitly used. ::

Modified: doctools/trunk/Doc-3k/reference/lexical_analysis.rst
==============================================================================
--- doctools/trunk/Doc-3k/reference/lexical_analysis.rst	(original)
+++ doctools/trunk/Doc-3k/reference/lexical_analysis.rst	Mon Aug 13 21:58:15 2007
@@ -343,12 +343,7 @@
 
 The following identifiers are used as reserved words, or *keywords* of the
 language, and cannot be used as ordinary identifiers.  They must be spelled
-exactly as written here:
-
-.. % 
-.. % 
-
-::
+exactly as written here::
 
    and       def       for       is        raise
    as        del       from      lambda    return
@@ -357,8 +352,6 @@
    class     except    import    pass      with
    continue  finally   in        print     yield
 
-.. % When adding keywords, use reswords.py for reformatting
-
 .. versionchanged:: 2.4
    :const:`None` became a constant and is now recognized by the compiler as a name
    for the built-in object :const:`None`.  Although it is not a keyword, you cannot


More information about the Python-checkins mailing list