mirror of https://github.com/python/cpython
Fix small overeager edit from 8e47e9af826e.
This commit is contained in:
parent
0b3847de6d
commit
0182f38dec
|
@ -444,7 +444,7 @@ must be expressed with escapes.
|
||||||
As of Python 3.3 it is possible again to prefix unicode strings with a
|
As of Python 3.3 it is possible again to prefix unicode strings with a
|
||||||
``u`` prefix to simplify maintenance of dual 2.x and 3.x codebases.
|
``u`` prefix to simplify maintenance of dual 2.x and 3.x codebases.
|
||||||
|
|
||||||
Bytes literals may optionally be prefixed with a letter ``'r'``
|
Both string and bytes literals may optionally be prefixed with a letter ``'r'``
|
||||||
or ``'R'``; such strings are called :dfn:`raw strings` and treat backslashes as
|
or ``'R'``; such strings are called :dfn:`raw strings` and treat backslashes as
|
||||||
literal characters. As a result, in string literals, ``'\U'`` and ``'\u'``
|
literal characters. As a result, in string literals, ``'\U'`` and ``'\u'``
|
||||||
escapes in raw strings are not treated specially. Given that Python 2.x's raw
|
escapes in raw strings are not treated specially. Given that Python 2.x's raw
|
||||||
|
|
Loading…
Reference in New Issue