Changing the repr() of a class?

Laura Creighton lac at strakt.com
Fri Apr 19 06:22:29 EDT 2002


> Thanks Alex and thanks to all who discussed my problem. I am honoured to
> participate in such a group.
> 
> The 'Alex solution' worked but it does lead on to another problem -
> Reference material!
> 
> I bought 'Learning Python' by Mark Lutz, First Edition. Read it when I
> bought it a couple of years back, but I usually get by with the online
> documentation that comes with python.
> 
> With all the changes in Python since then I need a new reference work. Would
> anyone recommend a  book that includes info on metaclasses?
> 
> Thanks again,
> 
>  Donald 'Paddy' McCarthy.

If you are willing to wait, Alex's own Python in a Nutshell will be
published by O'Reilly soon.  In this particular case, I think the
Nut is more of a coconut than a pistachio nut :-).  Its not PP2E sized, and
no doubt Alex will complain about all the wonderful things he had
to _cut_, but nonetheless ...

Laura Creighton





More information about the Python-list mailing list