diff options
-rw-r--r-- | bot/resources/tags/loop-remove.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/resources/tags/loop-remove.md b/bot/resources/tags/loop-remove.md index e2e179ce1..cf309b046 100644 --- a/bot/resources/tags/loop-remove.md +++ b/bot/resources/tags/loop-remove.md @@ -1,8 +1,9 @@ --- +aliases: ["loop-add", "loop-modify"] embed: title: "Removing items inside a for loop" --- -Avoid removing items from a collection, such as a list, as you iterate that collection in a `for` loop: +Avoid adding to or removing from a collection, such as a list, as you iterate that collection in a `for` loop: ```py data = [1, 2, 3, 4] for item in data: |