瀏覽代碼

More explicit wording for str() and print() functions

(cherry picked from commit 9c65927aebeb11a67bfc533947b0715314606f43)
LoipesMas 4 年之前
父節點
當前提交
0fc433d046
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/gdscript/doc_classes/@GDScript.xml

+ 2 - 2
modules/gdscript/doc_classes/@GDScript.xml

@@ -804,7 +804,7 @@
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
 			<description>
 			<description>
-				Converts one or more arguments to strings in the best way possible and prints them to the console.
+				Converts one or more arguments of any type to string in the best way possible and prints them to the console.
 				[codeblock]
 				[codeblock]
 				a = [1, 2, 3]
 				a = [1, 2, 3]
 				print("a", "=", a) # Prints a=[1, 2, 3]
 				print("a", "=", a) # Prints a=[1, 2, 3]
@@ -1138,7 +1138,7 @@
 			<return type="String">
 			<return type="String">
 			</return>
 			</return>
 			<description>
 			<description>
-				Converts one or more arguments to string in the best way possible.
+				Converts one or more arguments of any type to string in the best way possible.
 				[codeblock]
 				[codeblock]
 				var a = [10, 20, 30]
 				var a = [10, 20, 30]
 				var b = str(a);
 				var b = str(a);