summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-07 23:04:17 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-07 23:04:17 (GMT)
commitab330d47d63323bf788bb027f05f41b31f9a0fc4 (patch)
tree1023b198d746548a597bd0f6de812c74b2a847b2 /Doc
parent95a5b9c94999a08f98d288902eca71501fe449bf (diff)
downloadcpython-ab330d47d63323bf788bb027f05f41b31f9a0fc4.zip
cpython-ab330d47d63323bf788bb027f05f41b31f9a0fc4.tar.gz
cpython-ab330d47d63323bf788bb027f05f41b31f9a0fc4.tar.bz2
add missing definitin of longstringitem
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ref/ref2.tex1
-rw-r--r--Doc/ref2.tex1
2 files changed, 2 insertions, 0 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index 2757ab1..9ccfee6 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -207,6 +207,7 @@ stringliteral: shortstring | longstring
shortstring: "'" shortstringitem* "'" | '"' shortstringitem* '"'
longstring: "'''" longstringitem* "'''" | '"""' longstringitem* '"""'
shortstringitem: shortstringchar | escapeseq
+longstringitem: longstringchar | escapeseq
shortstringchar: <any ASCII character except "\" or newline or the quote>
longstringchar: <any ASCII character except "\">
escapeseq: "\" <any ASCII character>
diff --git a/Doc/ref2.tex b/Doc/ref2.tex
index 2757ab1..9ccfee6 100644
--- a/Doc/ref2.tex
+++ b/Doc/ref2.tex
@@ -207,6 +207,7 @@ stringliteral: shortstring | longstring
shortstring: "'" shortstringitem* "'" | '"' shortstringitem* '"'
longstring: "'''" longstringitem* "'''" | '"""' longstringitem* '"""'
shortstringitem: shortstringchar | escapeseq
+longstringitem: longstringchar | escapeseq
shortstringchar: <any ASCII character except "\" or newline or the quote>
longstringchar: <any ASCII character except "\">
escapeseq: "\" <any ASCII character>