From: behrends at cse.msu.edu (Reimer Behrends)
Date: 29 Apr 1999 23:51:39 GMT
Subject: while (a=b()) ...
References: <19990430000141.A5867@shalott>
Message-ID: <slrn7ihoi3.35q.behrends@allegro.cse.msu.edu>
X-UID: 690                                                  

Marco Mariani (m.mariani at imola.nettuno.it) wrote:
> Hi all language lawyers!
> 
> Which one is more ugly?
[...]

Both.

> Is there an elegant way?

while curs.fetchone():
  print curs.item

Remember that objects have state.

			Reimer Behrends




