Fully Bracketed Syntax

Gerrit Holl gerrit.holl at pobox.com
Sat Feb 12 11:30:38 EST 2000


Terry Reedy wrote on 950303549:
> 
> "Gerrit Holl" <gerrit.holl at pobox.com>
> > Eaglestone, Robert NGC:B918:EXCH" wrote on 950195591:
> > ...
> > > if ( foo > bar )
> > >    do_something();
> > >    do_something_else();
> > >    done();
> > > endif
> >
> > Let me add two characters, and it's totally valid.
> >
> > if ( foo > bar ):
> >    do_something();
> >    do_something_else();
> >    done();
> > #endif
> 
> To 'make up' for the two added chars, we can delete the two parens.
> Also, ;\n is redundant if \n is used as a terminator rather than whitespace.

I know, read the original mail please.

regards,
Gerrit.

-- 
Homepage: http://www.nl.linux.org/~gerrit
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O
!M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK----- moc.edockeeg.www//:ptth




More information about the Python-list mailing list