summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2021-09-30 01:18:47 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2021-09-30 01:18:47 +0800
commit1e0fe9f8179b7fb09a8f340a88b87d54edd776e6 (patch)
treed98949a1d2f26677a3d6078d04d484b14a59d21f /doc
parent2fc31fdfca29753977b36180e6aab9c28e84cddc (diff)
Fix doc for Dictionary.erase
Diffstat (limited to 'doc')
-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">