It was written:

 > How is `int(string, 16)` "inverting"?

It's the inverse of f"{number:x}", of course.  Mappings between types
are ubiquitous, and (more or less) invertible ones are not uncommon.

It's an honest question, but I suggest we let slightly odd usage,
especially in scare quotes, pass.  It's not essential to understand
the proposal.

Steve
_______________________________________________
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/YQLAKAV7ZTTSNQDKVHYRX2RMKT7REUQP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to