On Fri, 13 Jun 2003 09:37:36 +0100 Colin Watson <cjwatson@debian.org> wrote: > I have to say that I can never remember whether Python's print includes > a trailing newline, and I find it much more obvious when that's spelt > out explicitly as it is in Perl ... > Language features can be idioms too. :) I don't call that a feature. That's one of the few Pythonisms I consider a bug. It's a holdout from the Pascal days of Write and WriteLn. For the record, it does unless there is a trailing comma. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. | -- Lenny Nero - Strange Days -------------------------------+---------------------------------------------
Attachment:
pgpd_w5WWEn49.pgp
Description: PGP signature