瀏覽代碼

Clarify Dictionary duplicate params godotengine#37162

* Added additional clarification for the function of the 'deep'
parameter in the Dictionary's `duplicate` method.

(cherry picked from commit 469b7c948f8e132946ad090df89081784ca2c849)
Zak Grumbles 5 年之前
父節點
當前提交
294008015e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Dictionary.xml

+ 1 - 1
doc/classes/Dictionary.xml

@@ -76,7 +76,7 @@
 			<argument index="0" name="deep" type="bool" default="false">
 			<argument index="0" name="deep" type="bool" default="false">
 			</argument>
 			</argument>
 			<description>
 			<description>
-				Creates a copy of the dictionary, and returns it.
+				Creates a copy of the dictionary, and returns it. The [code]deep[/code] parameter causes inner dictionaries and arrays to be copied recursively, but does not apply to objects.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="empty">
 		<method name="empty">