diff options
author | Evgeny Savelyev <glados28@yandex.ru> | 2019-02-10 23:28:22 +0300 |
---|---|---|
committer | Evgeny Savelyev <glados28@yandex.ru> | 2019-02-10 23:28:22 +0300 |
commit | 5594b08e90c0d606c8f5b14879e94595fce962ee (patch) | |
tree | a2e84e3a8337cf55a8f0d40c58da0b86fa970cfc /doc/classes | |
parent | 188a711c4f08f96bccd72ecea0d7445f0c7846ca (diff) |
added warnings about Dictionary element erasure while iterating over it
Diffstat (limited to 'doc/classes')
-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 a9e2a38dcf..9c78853cfe 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -5,6 +5,7 @@ </brief_description> <description> Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference. + Erasing elements while iterating over them [b]is not supported[/b]. </description> <tutorials> </tutorials> @@ -38,7 +39,7 @@ <argument index="0" name="key" type="Variant"> </argument> <description> - Erase a dictionary key/value pair by key. + Erase a dictionary key/value pair by key. Do not erase elements while iterating over the dictionary. </description> </method> <method name="get"> |