Single-line functions

Magnus Lie Hetland mlh at idi.ntnu.no
Fri Mar 31 10:39:57 EST 2000


Seems you can't begin more than one block on one line...

For instance,

  if 1: if 1: print "spam"

doesn't work, although

  if 1: print "spam"

does.

--

  Magnus
  Lie
  Hetland                            magnus @ hetland . org






More information about the Python-list mailing list