[issue1714448] if something as x:

Steven D'Aprano report at bugs.python.org
Sun Mar 15 05:38:04 CET 2009


Steven D'Aprano <steve at pearwood.info> added the comment:

Matthew suggested ~= instead of -> or "as".

I dislike this because ~= first makes me think of "approximately equal 
to", and then it makes me think of augmented assignment, and only then 
do I remember that although ~ is used in Python for bitwise-not, ~= is 
not a legal augmented assignment.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1714448>
_______________________________________


More information about the Python-bugs-list mailing list