PEP 259: Omit printing newline after newline

Emile van Sebille emile at fenx.com
Mon Jun 11 19:51:10 EDT 2001


This to save a comma?

>         >>> for line in open("/etc/passwd").readlines():
>         ... print line,


--

Emile van Sebille
emile at fenx.com

---------
"Guido van Rossum" <guido at digicool.com> wrote in message
news:mailman.992290220.14360.python-list at python.org...
> Please comment on the following.  This came up a while ago in
> python-dev and I decided to follow through.  I'm making this a PEP
> because of the risk of breaking code (which everybody on Python-dev
> seemed to think was acceptable).






More information about the Python-list mailing list