[Python-Dev] Dictionary tuning
Guido van Rossum
Tue, 29 Apr 2003 07:04:27 -0400
> Off the top of my head, most classes I create have ...
> 3-5 other methods
> 3-5 instance attributes
> Hmm - that would only be 3-5 instance __dict__ entries, with
> 4-6 class __dict__ entries, correct?
> I was forgetting that methods are put into the instance __dict__.
No, they're not.
> Bah - it's too late. It's the end of the day, and I've barely
> managed to get 2 hours real work done.
That might explain your recent goofs. :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)