]> granicus.if.org Git - python/commitdiff
Fix small overeager edit from 8e47e9af826e.
authorGeorg Brandl <georg@python.org>
Wed, 20 Jun 2012 09:26:03 +0000 (11:26 +0200)
committerGeorg Brandl <georg@python.org>
Wed, 20 Jun 2012 09:26:03 +0000 (11:26 +0200)
Doc/reference/lexical_analysis.rst

index 5e5903f7a92589a5ddd9e5182f00ae26ae9795ac..bab39f9d3675c7cefb23b3efe3659d77a97d55a3 100644 (file)
@@ -444,7 +444,7 @@ must be expressed with escapes.
 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.
 
-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
 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