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 0b3847d commit 0182f38Copy full SHA for 0182f38
1 file changed
Doc/reference/lexical_analysis.rst
@@ -444,7 +444,7 @@ must be expressed with escapes.
444
As of Python 3.3 it is possible again to prefix unicode strings with a
445
``u`` prefix to simplify maintenance of dual 2.x and 3.x codebases.
446
447
-Bytes literals may optionally be prefixed with a letter ``'r'``
+Both string and bytes literals may optionally be prefixed with a letter ``'r'``
448
or ``'R'``; such strings are called :dfn:`raw strings` and treat backslashes as
449
literal characters. As a result, in string literals, ``'\U'`` and ``'\u'``
450
escapes in raw strings are not treated specially. Given that Python 2.x's raw
0 commit comments