[Python-Dev] readonly doc (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Thu Oct 22 23:26:35 CEST 2009


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.



More information about the Python-Dev mailing list