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
>  
> : 
> 
> > The string representations of the numeric classes, computed 
> > by__repr__() and __str__(), have the following properties: 
> > * They are valid numeric literals which, when passed to their 
> > class constructor, produce an object having the value of the 
> > original numeric. 
> > * The representation is in base 10, when possible. 

I realize that these basic informations have been very recently added to the 
Language Reference document as they are missing from the 3.8.5 version (July 
2020) as you can check here: 
https://docs.python.org/release/3.8.5/reference/datamodel.html#index-8

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

Reply via email to