[Python-Dev] PEP 520: Ordered Class Definition Namespace (round 3) (original) (raw)

Berker Peksağ berker.peksag at gmail.com
Mon Jun 13 14:12:56 EDT 2016


On Sun, Jun 12, 2016 at 5:37 AM, Eric Snow <ericsnowcurrently at gmail.com> wrote:

The following code demonstrates roughly equivalent semantics for the default behavior::

class Meta(type): def prepare(cls, *args, **kwargs):

Shouldn't this be wrapped with a classmethod decorator?

+1 from me.

--Berker



More information about the Python-Dev mailing list