str() for containers

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Jun 19 14:58:32 CEST 2004


On Sat, 19 Jun 2004 08:41:56 -0400, John Roth wrote:

> The only clean solution I can see is to provide a third built-in
> that provides the "right" output when a container class needs
> to turn an object into a string.

What is the right thing e.g. for strings?

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/




More information about the Python-list mailing list