5 ms·
Python defines += as the __iadd__ method which is sometimes mutating, i.e. if the object being assigned to is mutable or not.
by falkaer 7y ago
Python defines += as the __iadd__ method which is sometimes mutating, i.e. if the object being assigned to is mutable or not.