Steven Bethard wrote: > But that would be just as easy with a print() function. In the current > syntax: > > print 'foo:', foo, 'bar:', bar, 'baz:', baz, > print 'frobble', frobble > > In my proposed function: > > print('foo:', foo, 'bar:', bar, 'baz:', baz, > 'frobble', frobble) > > To my (admittedly biased) eyes, the second version more obviously > prints to a single line.
next use case: print 'foo:', foo, 'bar:', bar, 'baz:', baz, if frobble > 0: print 'frobble', frobble else: print 'no frobble today' </F> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com