Not found in the documentation

Mike Dewhirst miked at dewhirst.com.au
Tue Apr 27 03:46:04 EDT 2021


On 27/04/2021 11:24 am, 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 :


Try ...

 >>> help(int)

and any other built-in type



>
> __str__(self)
>      str(self)
> (END)
>
> not very informative.


-- 
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/pipermail/python-list/attachments/20210427/7722c88c/attachment.sig>


More information about the Python-list mailing list