On Wed, Oct 13, 2021 at 11:21 AM MarylandBall Productions
<[email protected]> wrote:
>
> I would think `~string` could be good for a shorthand way to convert a string 
> to an integer, considering you’re “inverting” the string to another type, 
> though a downside to this would be that explicit is always better than 
> implicit and ~string will be a confusing operation to many users.
>

Can you give another example of where you invert something into
another type? I don't understand the analogy you're making here.

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/4GEDM7KO3VQMSACETTJPHOWXM7ZH2TDJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to