[Python-checkins] cpython: Fix small overeager edit from 8e47e9af826e.

georg.brandl python-checkins at python.org
Wed Jun 20 11:25:40 CEST 2012


http://hg.python.org/cpython/rev/c4b8c8064ef4
changeset:   77523:c4b8c8064ef4
user:        Georg Brandl <georg at python.org>
date:        Wed Jun 20 11:26:03 2012 +0200
summary:
  Fix small overeager edit from 8e47e9af826e.

files:
  Doc/reference/lexical_analysis.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -444,7 +444,7 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list