[Python-3000] Line continuation using ellipsis
steven.bethard at gmail.com
Fri Apr 13 17:33:33 CEST 2007
On 4/13/07, Jim Jewett <jimjjewett at gmail.com> wrote:
> On 4/13/07, Paul Svensson <paul-python at svensson.org> 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, \
Just like everywhere else, you can use parentheses:
>>> assert True, (
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
More information about the Python-3000