22 Oct
2009
22 Oct
'09
3:26 p.m.
Le jeudi 22 octobre 2009 à 13:59 -0700, Guido van Rossum a écrit :
I don't really understand how this explains the read-only __doc__. I am talking about modifying __doc__ on a class, not on an instance. (sure, a new-style class is also an instance of type, but still...)
Antoine, it's not clear from the questions you're asking whether you've read the code in typobject.c that implements __doc__ or not.
Ah, well I haven't :-/ My bad. Regards Antoine.