Merge pull request #25428 from GlaDos28/master

[DOCS] Added warnings about Dictionary element erasure while iterating over it
This commit is contained in:
Rémi Verschelde 2019-02-10 21:40:29 +01:00 committed by GitHub
commit 6607c3c1c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
Dictionary type. Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference. 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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>
@ -38,7 +39,7 @@
<argument index="0" name="key" type="Variant"> <argument index="0" name="key" type="Variant">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="get"> <method name="get">