[Python-Dev] Replacement for print in Python 3.0
Paul Moore
p.f.moore at gmail.com
Tue Sep 6 18:36:19 CEST 2005
More information about the Python-Dev mailing list
Tue Sep 6 18:36:19 CEST 2005
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 9/6/05, Gareth McCaughan <gmccaughan at synaptics-uk.com> wrote: > So borrow a trick from Common Lisp and use a destination of None > to mean "return the formatted text as a string". [...] > Or is that too cryptic? Yes. To my mind, formatting (returning a string) and output are separate operations. A "write formatted output" operation is a useful convenience method, but it's not the basic operation. Paul.
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list