diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-29 23:17:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 23:17:44 +0200 |
commit | f91afeb75d5de14bc4c6250b515eddae1139dec0 (patch) | |
tree | 8d31c1189ab566b11466462c69ba0f9a78bd7b8d | |
parent | 92d88fde2ca5e9b077ab591165e45de103bfd827 (diff) | |
parent | 1e0fe9f8179b7fb09a8f340a88b87d54edd776e6 (diff) |
Merge pull request #53228 from timothyqiu/dict-erase
-rw-r--r-- | doc/classes/Dictionary.xml | 3 |
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"> |