Style question: metaclass self vs cls?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Tue Jul 17 22:50:25 EDT 2012


On Tue, 17 Jul 2012 05:23:22 -0700, Michele Simionato wrote:

> The standard is to use `cls`. In the __new__ method you can use `mcl` or
> `meta`.

Thanks to everyone who answered.

I think I will stick with "meta" and "cls".


-- 
Steven



More information about the Python-list mailing list