On Fri, 29 May 2020 09:48:53 -0000
"Mark Dickinson" <mdickin...@enthought.com>
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 -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/FIVGLC7LM4NSQGFVWSRNBHJNSQNQA35V/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to