On 4/13/07, Jim Jewett <[EMAIL PROTECTED]> wrote:
> On 4/13/07, Paul Svensson <[EMAIL PROTECTED]> wrote:
> > Talin wrote:
> > > I've never liked using the backslash operator for line continuation
>
> > Me neither, but the suggested replacements don't appeal to me either.
> > Is there any reason we can't just remove them ?
> > Is backslash continuation still needed anywhere,
>
>
> >>> assert True,
> SyntaxError: invalid syntax
> >>> assert True, \
> "ASDF"
> >>>
Just like everywhere else, you can use parentheses:
>>> assert True, (
... 'ASDF')
STeVe
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
_______________________________________________
Python-3000 mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com