On 20 June 2013 04:11, Cameron Simpson <c...@zip.com.au> wrote:
> Also, opening-and-not-closing a set of brackets is almost the only
> way in Python to make this kind of error (syntax at one line, actual
> mistake far before).
>
> See if your editor has a show-the-matching-bracket mode.
<snip>
> If you suspect you failed to close a bracket, one approach is to
> go _below_ the syntax error (or right on it) and type a closing
> bracket. Then see where the editor thinks the opening one is.

Thanks for that, that's quite an ingenious technique.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to