Explorar o código

Document dictionary erase return value

(cherry picked from commit 5ce9bfcb4f5d80d4c25ef13211eb58f4e569e603)
lopho %!s(int64=6) %!d(string=hai) anos
pai
achega
d963a32213
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/classes/Dictionary.xml

+ 1 - 1
doc/classes/Dictionary.xml

@@ -47,7 +47,7 @@
 			<argument index="0" name="key" type="Variant">
 			</argument>
 			<description>
-				Erase a dictionary key/value pair by key. Do 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. Do not erase elements while iterating over the dictionary.
 			</description>
 		</method>
 		<method name="get">