[Python-Dev] defaultdict proposal round three

Guido van Rossum guido at python.org
Mon Feb 20 19:53:30 CET 2006


On 2/20/06, Raymond Hettinger <raymond.hettinger at verizon.net> wrote:
> [GvR]
> > Alternative A: add a new method to the dict type with the semantics of
> > __getattr__ from the last proposal
>
> Did you mean __getitem__?

Yes, sorry, I meant __getitem__.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list