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


Groups > comp.lang.python > #31684

Re: A desperate lunge for on-topic-ness

References <CANaSqUfLX7V2OxhO+fdVtmQcDzNfEgQfutHak_G-9_1_4nNr1Q@mail.gmail.com> <50802B5B.6040902@cs.wisc.edu> <CAPTjJmqGmYHD7vTdWdSq-Ro4ZCv2z=3zea92iahy-7Qx4=NoOg@mail.gmail.com> <508032B4.5040303@davea.name>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2012-10-18 15:02 -0600
Subject Re: A desperate lunge for on-topic-ness
Newsgroups comp.lang.python
Message-ID <mailman.2474.1350594176.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Oct 18, 2012 at 10:47 AM, Dave Angel <d@davea.name> wrote:
> I never use the backslash at end-of-line to continue a statement to the
> next.  Not only is it a readability problem, but if your editor doesn't
> have visible spaces, you can accidentally have whitespace after the
> backslash, and wonder what went wrong.

Note the actual error message that you get in this case is:

"SyntaxError: unexpected character after line continuation character"

Seems pretty transparent to me.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: A desperate lunge for on-topic-ness Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-18 15:02 -0600

csiph-web