__getitem__ method on (meta)classes

Ron Garret rNOSPAMon at flownet.com
Tue Mar 15 17:32:51 CET 2005


In article <423684d8.821657701 at news.oz.net>,
 bokr at oz.net (Bengt Richter) wrote:

> >Did you mean type(x).__getitem__(x,y)?
> >
> Not if x is a classmethod,

Oh yeah, right.  Duh!

> >And where is this documented?
> Between the lines in my previous post ;-)

I see.  I guess I wasn't asking a stupid question then :-)

rg



More information about the Python-list mailing list