summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-02-10 21:40:29 +0100
committerGitHub <noreply@github.com>2019-02-10 21:40:29 +0100
commit6607c3c1c7dc7e6b3e381b71c6a46dcf59d3457b (patch)
tree8ee530e04d372d089433093e8a7ee79351e74d0e /doc/classes
parent1fe2e715cb10e3323cf37a050542af9f5d4db37e (diff)
parent5594b08e90c0d606c8f5b14879e94595fce962ee (diff)
Merge pull request #25428 from GlaDos28/master
[DOCS] Added warnings about Dictionary element erasure while iterating over it
Diffstat (limited to 'doc/classes')
-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 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">