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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com