Oct. 20, 2021
2:30 a.m.
Steven D'Aprano writes:
Ironically, Ricky's in-fun suggestion that we use the tilde operator for swapcase was the only suggestion in these two threads that actually met the invariant for an inverse that ~~x == x.
You forgot about Turkish, I think it is, that has three cases (the third is called "title case". Just another Joke that Broke because Unicode!