Bengt Richter wrote: > Stretching for it, using my latest and greatest ;-) > > y = f(**:: > x = 1 > y = 'y for f' > )*g(**:: > x = 'x for g' > y = 'y for g' > def foo(): return 'foo for g' > ) > > Note that there is no problem adding other parameters, because ::<suite> is > just > a unary expression returning dict subtype instance, e.g., > > y = f(11,22,**:: > x = 1 > y = 'y for f' > )*g(*args_from_somewhere, **:: > x = 'x for g' > y = 'y for g' > def foo(): return 'foo for g' > )
You know that this is dead ugly? The real ``problem'' (if you see one) is that the indentation syntax doesn't allow for suites in expressions. Reinhold -- http://mail.python.org/mailman/listinfo/python-list