On Wed, Oct 20, 2021 at 11:02 AM Steven D'Aprano <[email protected]> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/4V4J4K6CIDWW2BIBCHOVUHCCHMV6R3P2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to