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/2012-June/120039.html below:

Update 422 based on python-dev feedback

[Python-Dev] [Python-checkins] peps: Update 422 based on python-dev feedback [Python-Dev] [Python-checkins] peps: Update 422 based on python-dev feedbackDaniel Urban urban.dani+py at gmail.com
Thu Jun 7 17:45:29 CEST 2012
On Thu, Jun 7, 2012 at 2:08 PM, nick.coghlan <python-checkins at python.org> wrote:
> -* If the metaclass hint refers to an instance of ``type``, then it is
> +* If the metaclass hint refers to a subclass of ``type``, then it is
>   considered as a candidate metaclass along with the metaclasses of all of
>   the parents of the class being defined. If a more appropriate metaclass is
>   found amongst the candidates, then it will be used instead of the one

I think here "instance" was correct (see
http://hg.python.org/cpython/file/default/Lib/types.py#l76 and
http://hg.python.org/cpython/file/cedc68440a67/Python/bltinmodule.c#l90).


Daniel
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