[Tutor] What is __weakref__ ?

Karim karim.liateni at free.fr
Mon Jan 17 20:39:45 CET 2011


Hello,

I am wondering what is this special class attribut. I know __dict__, 
slots. I use slots = [] when I want to use a read only class.
But is anyone could explain with a little example the use of __weakref__?

Regards
karim


More information about the Tutor mailing list