Loop and a half

Greg Ewing greg.ewing at compaq.com
Mon May 3 21:11:24 EDT 1999


I've just had another idea for a loop-and-a-half syntax:

  while:
    line = f.readline()
  gives line:
    frobulate(line)

Just another possible idea for 2.0, perhaps. Maybe.

Greg




More information about the Python-list mailing list