diff options
| author | Guido van Rossum <guido@python.org> | 1995-07-07 23:04:17 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1995-07-07 23:04:17 +0000 |
| commit | ab330d47d63323bf788bb027f05f41b31f9a0fc4 (patch) | |
| tree | 1023b198d746548a597bd0f6de812c74b2a847b2 /Doc | |
| parent | 95a5b9c94999a08f98d288902eca71501fe449bf (diff) | |
| download | cpython-git-ab330d47d63323bf788bb027f05f41b31f9a0fc4.tar.gz | |
add missing definitin of longstringitem
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/ref/ref2.tex | 1 | ||||
| -rw-r--r-- | Doc/ref2.tex | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex index 2757ab1592..9ccfee6ce1 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 2757ab1592..9ccfee6ce1 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> |
