Rawest raw string literals

Chris Angelico rosuav at gmail.com
Sat Apr 22 17:19:07 EDT 2017


On Sun, Apr 23, 2017 at 7:13 AM, Mikhail V <mikhailwas at gmail.com> wrote:
> So one could define a rule, that a raw string *must*
> be terminated by the sequence quote + newline.
> In theory.

Then how would you pass one as a function parameter?

func(r"...."
)

Ugh. Ugly.

ChrisA


More information about the Python-list mailing list