Chris Angelico wrote at 2023-5-26 18:29 +1000:
> ...
>However, if you want to change the wording, I'd be more inclined to
>synchronize it with float():
>
>>>> float("a")
>Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>ValueError: could not convert string to float: 'a'

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

Reply via email to