how to pass a custom object to

Lawrence Oluyede raims at
Fri Aug 17 16:04:15 CEST 2007

<brunovianarezende at> wrote:
> Is it possible to make what I want (to pass a custom object to

Try to implement __str__() for your object and provide a string
representation for it.

Lawrence, -
"It is difficult to get a man to understand 
something when his salary depends on not
understanding it" - Upton Sinclair

More information about the Python-list mailing list