Can __iter__ be used as a classmethod?

Giovanni Bajo noway at sorry.com
Tue Mar 4 19:32:48 CET 2003


"Samuele Pedroni" <pedronis at bluewin.ch> ha scritto nel messaggio
news:3e649aa3_4 at news.bluewin.ch...

> - the support  for both classmethods (ignored wrt to special methods) and
> metatypes with their methods can be confusing

I agree. It has been source of big confusion for me as well.

Giovanni Bajo






More information about the Python-list mailing list