Style question: metaclass self vs cls?

alex23 wuwei23 at gmail.com
Tue Jul 17 08:10:05 CEST 2012


On Jul 17, 1:29 am, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> Here's a style question for you: in a metaclass, what should I call the
> instance parameter of methods, "cls" or "self"?

Maybe portmanteu it as "clasself"? :)



More information about the Python-list mailing list