From 44ea7e7c4f2e94f4e934a21e5e6d79fa2c77850d Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 30 Sep 2021 01:18:47 +0800 Subject: [PATCH] Fix doc for Dictionary.erase (cherry picked from commit 1e0fe9f8179b7fb09a8f340a88b87d54edd776e6) --- doc/classes/Dictionary.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index a72fd9e32a8..8c48699c70a 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -111,7 +111,8 @@ - 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.