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

Reply via email to