Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb18269 commit 0a0cbd4Copy full SHA for 0a0cbd4
1 file changed
Doc/reference/lexical_analysis.rst
@@ -628,10 +628,10 @@ to indicate that an ending quote ends the literal.
628
STRING: [`stringprefix`] (`stringcontent`)
629
stringprefix: <("r" | "u" | "b" | "br" | "rb"), case-insensitive>
630
stringcontent:
631
- | "'" ( !"'" `stringitem`)* "'"
632
- | '"' ( !'"' `stringitem`)* '"'
633
| "'''" ( !"'''" `longstringitem`)* "'''"
634
| '"""' ( !'"""' `longstringitem`)* '"""'
+ | "'" ( !"'" `stringitem`)* "'"
+ | '"' ( !'"' `stringitem`)* '"'
635
stringitem: `stringchar` | `stringescapeseq`
636
stringchar: <any `source_character`, except backslash and newline>
637
longstringitem: `stringitem` | newline
0 commit comments