Py3K idea: why not drop the colon?
Terry Reedy
tjreedy at udel.edu
Tue Nov 14 14:41:18 EST 2006
<skip at pobox.com> wrote in message
news:17753.63965.96495.419227 at montanaro.dyndns.org...
> >> I confess I find myself in the position of a Yorkshire Youngster -
> I
> >> don't believe you!
>
> Robert> Okay, not often enough or annoyingly enough for me to remember
> Robert> having done so. Perhaps seven years ago when I started using
> Robert> Python, but not any time recent.
>
> If your editor knows about Python's block structure (as Emacs's
> python-mode
> does), when you forget the colon it's immediately obvious because the
> next
> line doesn't autoindent properly.
The same is true of the editor in IDLE.
More information about the Python-list
mailing list