summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-29 23:17:44 +0200
committerGitHub <noreply@github.com>2021-09-29 23:17:44 +0200
commitf91afeb75d5de14bc4c6250b515eddae1139dec0 (patch)
tree8d31c1189ab566b11466462c69ba0f9a78bd7b8d
parent92d88fde2ca5e9b077ab591165e45de103bfd827 (diff)
parent1e0fe9f8179b7fb09a8f340a88b87d54edd776e6 (diff)
Merge pull request #53228 from timothyqiu/dict-erase
-rw-r--r--doc/classes/Dictionary.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml
index 0575ea3eef..2eb75d48a3 100644
--- a/doc/classes/Dictionary.xml
+++ b/doc/classes/Dictionary.xml
@@ -213,7 +213,8 @@
<return type="bool" />
<argument index="0" name="key" type="Variant" />
<description>
- Erase a dictionary key/value pair by key. Returns [code]true[/code] if the given key was present in the dictionary, [code]false[/code] otherwise. Does not erase elements while iterating over the dictionary.
+ Erase a dictionary key/value pair by key. Returns [code]true[/code] if the given key was present in the dictionary, [code]false[/code] otherwise.
+ [b]Note:[/b] Don't erase elements while iterating over the dictionary. You can iterate over the [method keys] array instead.
</description>
</method>
<method name="get" qualifiers="const">