Mark Hathaway hathawa2 at
Thu Apr 20 15:16:31 CEST 2000

Hi all,

I've been discussing OO with Smalltalkers on comp.object. The
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:

Mark S. Hathaway
email: hathawa2 at

More information about the Python-list mailing list