Steven D'Aprano <st...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1714448> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com