Y
Hacker News
new
|
ask
|
show
|
jobs
by
falkaer
2348 days ago
Python defines += as the __iadd__ method which is
sometimes
mutating, i.e. if the object being assigned to is mutable or not.