Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0182f38

Browse files
committed
Fix small overeager edit from 8e47e9af826e.
1 parent 0b3847d commit 0182f38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/lexical_analysis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ must be expressed with escapes.
444444
As of Python 3.3 it is possible again to prefix unicode strings with a
445445
``u`` prefix to simplify maintenance of dual 2.x and 3.x codebases.
446446

447-
Bytes literals may optionally be prefixed with a letter ``'r'``
447+
Both string and bytes literals may optionally be prefixed with a letter ``'r'``
448448
or ``'R'``; such strings are called :dfn:`raw strings` and treat backslashes as
449449
literal characters. As a result, in string literals, ``'\U'`` and ``'\u'``
450450
escapes in raw strings are not treated specially. Given that Python 2.x's raw

0 commit comments

Comments
 (0)