On Wed, Oct 20, 2021 at 11:02 AM Steven D'Aprano <st...@pearwood.info> wrote: > 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. >
>>> x = "ß" :) Okay, so it's *mostly* an invariant. ChrisA _______________________________________________ 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/4V4J4K6CIDWW2BIBCHOVUHCCHMV6R3P2/ Code of Conduct: http://python.org/psf/codeofconduct/