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/2011-July/112696.html below:

make the types of None and Ellipsis callable

[Python-Dev] cpython: make the types of None and Ellipsis callable [Python-Dev] cpython: make the types of None and Ellipsis callableNick Coghlan ncoghlan at gmail.com
Sat Jul 30 17:30:41 CEST 2011
On Sun, Jul 31, 2011 at 12:12 AM, Benjamin Peterson <benjamin at python.org> wrote:
> 2011/7/29 Georg Brandl <g.brandl at gmx.net>:
>> Shouldn't there be a matching Doc change somewhere?
>
> Somewhere is the question!

While None/NotImplemented/Ellipsis are all documented as singletons,
the behaviour of calling their types is not specified anywhere. If
this was to be detailed anywhere, then the sections on
None/NotImplemented/Ellipsis in section 3.2 of the language reference
would be the place.

And on that note... was there any particular reason for leaving
NotImplemented out for this change?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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