A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-April/035199.html below:

[Python-Dev] Dictionary tuning

[Python-Dev] Dictionary tuning [Python-Dev] Dictionary tuningGuido van Rossum guido@python.org
Tue, 29 Apr 2003 07:04:27 -0400
[Tim Delaney]
> Off the top of my head, most classes I create have ...
> 
> __init__
> 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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4