[Python-3000-checkins] r59072 - python/branches/py3k/Doc/reference/lexical_analysis.rst

mark.summerfield python-3000-checkins at python.org
Tue Nov 20 14:22:19 CET 2007


Author: mark.summerfield
Date: Tue Nov 20 14:22:19 2007
New Revision: 59072

Modified:
   python/branches/py3k/Doc/reference/lexical_analysis.rst
Log:
The Identifiers and keywords syntax diagram did not appear correctly in the
HTML output. I've now fixed this as best I can (but could do with
improvement).

Note that there are two terms used, "Other_ID_Start" and
"Other_ID_Continue" that are not explained; I've added an extra see
reference to PEP 3131 though.



Modified: python/branches/py3k/Doc/reference/lexical_analysis.rst
==============================================================================
--- python/branches/py3k/Doc/reference/lexical_analysis.rst	(original)
+++ python/branches/py3k/Doc/reference/lexical_analysis.rst	Tue Nov 20 14:22:19 2007
@@ -286,10 +286,8 @@
 
 .. productionlist::
    identifier: `id_start` `id_continue`*
-   id_start: <all characters in general categories Lu, Ll, Lt, Lm, Lo, Nl,
-              the underscore, and characters with the Other_ID_Start property>
-   id_continue: <all characters in `id_start`, plus characters in the categories
-                 Mn, Mc, Nd, Pc and others with the Other_ID_Continue property>
+   id_start: <all characters in general categories Lu, Ll, Lt, Lm, Lo, Nl, the underscore, and characters with the Other_ID_Start property>
+   id_continue: <all characters in `id_start`, plus characters in the categories Mn, Mc, Nd, Pc and others with the Other_ID_Continue property>
 
 The Unicode category codes mentioned above stand for:
 
@@ -311,6 +309,8 @@
 4.1 can be found at
 http://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html.
 
+See :pep:`3131` for further details.
+
 .. _keywords:
 
 Keywords


More information about the Python-3000-checkins mailing list