effbot at telia.com
Thu Apr 20 17:54:55 CEST 2000
Mark Hathaway <hathawa2 at marshall.edu> wrote:
> I've been discussing OO with Smalltalkers on comp.object. The
> issue/topic of blocks (as used in Smalltalk) comes up frequently.
> I am wondering how Python handles 'if's and 'for's which is where
> Smalltalk commonly uses it's blocks. How does Python do it?
> if <condition>:
> for each in list:
the statement blocks are inlined.
More information about the Python-list