13 Oct
2021
13 Oct
'21
5:54 a.m.
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