modified-iterating-set / E4703#
Message emitted:
Iterated set '%s' is being modified inside for loop body, iterate through a copy of it instead.
Description:
Emitted when items are added or removed to a set being iterated through. Doing so raises a RuntimeError.
Correct code:
# This is a placeholder for correct code for this message.
Additional details:
You can help us make the doc better by contributing !
Created by the modified_iteration checker.