Terry J. Reedy added the comment: "What the hell I am talking about" is what the doc says. 'd[key]' is written just once and "is evaluated just once". https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements
PS: Try being a bit more polite. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21101> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com