Fix doc for Dictionary.erase

(cherry picked from commit 1e0fe9f817)
This commit is contained in:
Haoyu Qiu 2021-09-30 01:18:47 +08:00 committed by Rémi Verschelde
parent 41e7f676ea
commit 39bb33565b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -111,7 +111,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">