On Tue, Apr 27, 2021 at 6:11 PM elas tica <elassti...@gmail.com> wrote:
>
>
> > Python has this thing called interactive mode that makes it possible to
> > discover answers even faster than looking in the docs
>
> To go further :
> Python has this thing called source code that makes it possible to discover 
> answers even faster than looking in the docs
>

Hmm, that's a bit of a trap. CPython has source code, but the Python
language specification is not the CPython source code. There is
definitely value in having certain behaviours documented, as it allows
other Python implementations to know what's part of the language
definition and what's an implementation detail of CPython.

However, in this case, the general information in the docs is
absolutely sufficient, and the basic principle that the repr should
(where possible) be a valid literal should explain what's needed.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to