Răsfoiți Sursa

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

(cherry picked from commit 9c65927aebeb11a67bfc533947b0715314606f43)
LoipesMas 4 ani în urmă
părinte
comite
0fc433d046
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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>
 			<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]
 				a = [1, 2, 3]
 				print("a", "=", a) # Prints a=[1, 2, 3]
@@ -1138,7 +1138,7 @@
 			<return type="String">
 			</return>
 			<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]
 				var a = [10, 20, 30]
 				var b = str(a);