Thanks, Mark! Fixed by changing "B\n" into "B". :-) On 9/3/07, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > Forwarded: a comment on the 3.0 What's New. > > --amk > > > ---------- Forwarded message ---------- > From: Mark Summerfield <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Sat, 1 Sep 2007 08:55:42 +0100 > Subject: Poss. clarification for What's New in Python 3 > Hi, > > In the What's New in Python 3 document you say > > For example, in Python 2.x, print "A\n", "B\n" would write "A\nB\n"; > but in Python 3.0, print("A\n", "B\n") writes "A\n B\n". > > > I would be tempted to change this to: > > For example, in Python 2.x, print "A\n", "B\n" would write "A\nB\n\n"; > but in Python 3.0, print("A\n", "B\n") writes "A\n B\n\n". > Python 3's print() has keyword arguments to control what's > output between items and what is output at the end, for example, > print("A\n", "B\n", sep="", end="") writes "A\nB\n". > > -- > Mark Summerfield, Qtrac Ltd., www.qtrac.eu > > > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > >
-- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com