A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-June/145149.html below:

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

[Python-Dev] PEP 520: Ordered Class Definition Namespace (round 3)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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4