Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25923 > unrolled thread

Re: the meaning of r’.......‘

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-07-23 17:07 -0400
Last post2012-07-23 17:07 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: the meaning of r’.......‘ Terry Reedy <tjreedy@udel.edu> - 2012-07-23 17:07 -0400

#25923 — Re: the meaning of r’.......‘

FromTerry Reedy <tjreedy@udel.edu>
Date2012-07-23 17:07 -0400
SubjectRe: the meaning of r’.......‘
Message-ID<mailman.2500.1343077692.4697.python-list@python.org>
On 7/23/2012 3:59 AM, Chris Angelico wrote:
> On Fri, Jul 20, 2012 at 5:56 PM, levi nie <levinie001@gmail.com> wrote:
>> the meaning of r’.......‘?
>
> It's a raw string.
>
> http://docs.python.org/py3k/tutorial/introduction.html#strings

Strictly speaking, it is a raw string literal, which should be parsed as 
raw (string literal) and NOT as (raw string) literal. I know that the 
docs sometimes leave off 'literal', but that sometimes confuses people 
that there is such a thing as a raw string instance.

-- 
Terry Jan Reedy



[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web