[Python-checkins] r65558 - python/trunk/Doc/reference/lexical_analysis.rst

georg.brandl python-checkins at python.org
Wed Aug 6 19:20:41 CEST 2008


Author: georg.brandl
Date: Wed Aug  6 19:20:41 2008
New Revision: 65558

Log:
Fix longstringitem definition. #3505.


Modified:
   python/trunk/Doc/reference/lexical_analysis.rst

Modified: python/trunk/Doc/reference/lexical_analysis.rst
==============================================================================
--- python/trunk/Doc/reference/lexical_analysis.rst	(original)
+++ python/trunk/Doc/reference/lexical_analysis.rst	Wed Aug  6 19:20:41 2008
@@ -424,7 +424,7 @@
    stringliteral: [`stringprefix`](`shortstring` | `longstring`)
    stringprefix: "r" | "u" | "ur" | "R" | "U" | "UR" | "Ur" | "uR"
    shortstring: "'" `shortstringitem`* "'" | '"' `shortstringitem`* '"'
-   longstring: ""'" `longstringitem`* ""'"
+   longstring: "'''" `longstringitem`* "'''"
              : | '"""' `longstringitem`* '"""'
    shortstringitem: `shortstringchar` | `escapeseq`
    longstringitem: `longstringchar` | `escapeseq`


More information about the Python-checkins mailing list