[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: HEADS UP: cmdline test factory

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Sun, 21 Jun 2009 23:03:48 +0200

David James wrote:
> That's right. But if you don't want to interpret \-escaped characters,
> you can add an "r" in front of the quote. It's a useful feature. E.g.
> r"a\nb\nc" or r"""a\nb\nc""".

Oh, my fault, didn't see that.

[[[
py> print r"""a\nb\nc"""
a\nb\nc
py>
]]]

Cool! Thanks, I didn't know that.

* neels bows

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2364002

Received on 2009-06-21 23:04:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.