Re: A decorator syntax not yet mentioned (I think!)
From: Carl Banks (imbosol_at_aerojockey.com)
Date: 08/13/04
- Next message: Mark Bottjer: "Re: A decorator syntax not yet mentioned (I think!)"
- Previous message: simo: "Re: VB-like GUI designer?"
- In reply to: Mark Bottjer: "Re: A decorator syntax not yet mentioned (I think!)"
- Next in thread: Greg Ewing: "Re: A decorator syntax not yet mentioned (I think!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Aug 2004 16:11:17 -0700
Mark Bottjer <mark_bottjer@hotmail.com> wrote in message news:<411ba1db$1@nntp.zianet.com>...
> With this
> syntax, though, the decorate block changes how the def statement is
> handled, even though they are at the same indentation level.
That's a problem only if you think of decorate and def as separate
statements. If, as with if...else and try...except, you think of
decorate...def as a single statement, then there is no problem.
-- CARL BANKS
- Next message: Mark Bottjer: "Re: A decorator syntax not yet mentioned (I think!)"
- Previous message: simo: "Re: VB-like GUI designer?"
- In reply to: Mark Bottjer: "Re: A decorator syntax not yet mentioned (I think!)"
- Next in thread: Greg Ewing: "Re: A decorator syntax not yet mentioned (I think!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|