[Python-Dev] Replacement for print in Python 3.0 (original) (raw)

Paolino paolo_veronelli at libero.it
Sat Sep 3 17:27:41 CEST 2005


Nick Coghlan wrote:

If an iterator wants to behave like that, the iterator should define the appropriate str method. Otherwise, just break it up into multiple lines:

write(1, 2, [3,4]) write(*(c for c in 'abc')) This cannot accept keyword args(I wonder if this is a bug), which makes it a non compatible solution with the rest of yours. writeln('def', (5, 6))

Regards Paolino



More information about the Python-Dev mailing list