diff options
author | Fred Drake <fdrake@acm.org> | 2002-03-15 23:21:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-03-15 23:21:37 (GMT) |
commit | 5381588073eced38d37a4cb5ab89d7bd9579b71c (patch) | |
tree | dc7860af56cc6a378032ed34735b1c331cf77cd4 /Doc/ref/ref2.tex | |
parent | 7fe80a108520479a62edd6adc5eef86f4a058341 (diff) | |
download | cpython-5381588073eced38d37a4cb5ab89d7bd9579b71c.zip cpython-5381588073eced38d37a4cb5ab89d7bd9579b71c.tar.gz cpython-5381588073eced38d37a4cb5ab89d7bd9579b71c.tar.bz2 |
Revise the markup related to the grammar productions to increase the
level of predictability. This is not really "good" markup, but is arguably
better than we had before.
This closes SF bug #523117.
Diffstat (limited to 'Doc/ref/ref2.tex')
-rw-r--r-- | Doc/ref/ref2.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 74aaae4..1956e02 100644 --- a/Doc/ref/ref2.tex +++ b/Doc/ref/ref2.tex @@ -318,8 +318,8 @@ String literals are described by the following lexical definitions: {"'" \token{shortstringitem}* "'" | '"' \token{shortstringitem}* '"'} \production{longstring} - {"'''" \token{longstringitem}* "'''" - | '"""' \token{longstringitem}* '"""'} + {"'''" \token{longstringitem}* "'''"} + \productioncont{| '"""' \token{longstringitem}* '"""'} \production{shortstringitem} {\token{shortstringchar} | \token{escapeseq}} \production{longstringitem} |