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


Groups > comp.lang.python > #48827 > unrolled thread

Re: Problem with the "for" loop syntax

Started byCameron Simpson <cs@zip.com.au>
First post2013-06-21 08:36 +1000
Last post2013-06-21 08:36 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problem with the "for" loop syntax Cameron Simpson <cs@zip.com.au> - 2013-06-21 08:36 +1000

#48827 — Re: Problem with the "for" loop syntax

FromCameron Simpson <cs@zip.com.au>
Date2013-06-21 08:36 +1000
SubjectRe: Problem with the "for" loop syntax
Message-ID<mailman.3641.1371767810.3114.python-list@python.org>
On 20Jun2013 15:33, Oscar Benjamin <oscar.j.benjamin@gmail.com> wrote:
| On 20 June 2013 04:11, Cameron Simpson <cs@zip.com.au> wrote:
| > I use vi/vim and it both shows the matching bracket when the cursor
| > is on one and also have a keystroke to bounce the curser between
| > this bracket and the matching one.
| >
| > 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.
| 
| I use this technique sometimes and it works if the unclosed bracket is
| still in view.

Standing on a bracket, the '%' key jumps to the matching bracket.
No need for it to be in view.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

"Vy can't ve chust climb?"  - John Salathe

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web