[Python-ideas] Python docs page: In what ways is None special
Rhodri James
rhodri at kynesim.co.uk
Thu Aug 16 09:14:38 EDT 2018
On 16/08/18 14:04, Jonathan Fine wrote:
> And I think there's more. The page says
>> None
>> This type has a single value. There is a single object with this value. [...]
> I think it better to write
>> NoneType
>> This type has a single value, `None`. The keyword `None` always gives the value `None`.
I disagree. That original text looks like it has been very carefully
written to be (almost) true. What you are proposing to replace it with
is less true and confusing to boot.
--
Rhodri James *-* Kynesim Ltd
More information about the Python-ideas
mailing list