Merge pull request #112261 from aaronp64/dictionary_set_doc

Explain `Dictionary.set()` return value in docs
This commit is contained in:
Rémi Verschelde 2025-11-01 19:06:32 +01:00
commit f900c20fd5
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -508,7 +508,7 @@
<param index="0" name="key" type="Variant" />
<param index="1" name="value" type="Variant" />
<description>
Sets the value of the element at the given [param key] to the given [param value]. This is the same as using the [code][][/code] operator ([code]dict[key] = value[/code]).
Sets the value of the element at the given [param key] to the given [param value]. This is the same as using the [code][][/code] operator ([code]dict[key] = value[/code]). Returns [code]true[/code] if the value is set successfully. Fails and returns [code]false[/code] if the dictionary is read-only, or if [param key] and [param value] don't match the dictionary's types.
</description>
</method>
<method name="size" qualifiers="const">