Vedran Čačić <[email protected]> added the comment:
You've managed to write 3 messages already, without at any point mentioning
what _really_ happens when you += something.
a += b means (is closest to) a = type(a).__iadd__(a, b)
You focus all the time on __iadd__ call, disregarding that its result it
assigned back to a in scope.
----------
nosy: +veky
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46612>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com