On Fri, 29 May 2020 09:48:53 -0000
"Mark Dickinson" <[email protected]>
wrote:
> 
> I have a proof-of-concept PR [1] that exposes this in the `operator` module 
> as `operator.as_float`. See also the discussion on the tracker [2].

`operator.as_float` sounds good to me.  There's the `operator.index`
precedent.

Regards

Antoine.

_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/FIVGLC7LM4NSQGFVWSRNBHJNSQNQA35V/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to