I agree. I would be useful for it to be documented elsewhere, especially in docstrings. I wonder if this is/was a conscious decision to keep Python runtime smaller?
Paul On Mon, 2021-04-26 at 18:24 -0700, elas tica wrote: > Le mardi 27 avril 2021 à 01:44:04 UTC+2, Paul Bryan a écrit : > > From > > https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy > > > > : > > > > > Thanks for the reference. I was expecting to find this information in > the Built-in Types section from the PSL documentation. The > representation returned by str over a complex number is not stated. > The same for fraction objects. All the docstrinds are meaningless, > showing : > > __str__(self) > str(self) > (END) > > not very informative. -- https://mail.python.org/mailman/listinfo/python-list