Browse Source

Merge pull request #44925 from LoipesMas/str-docs

More explicit wording for str() function
Rémi Verschelde 4 years ago
parent
commit
cdfcf68af9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/classes/@GlobalScope.xml

+ 2 - 2
doc/classes/@GlobalScope.xml

@@ -668,7 +668,7 @@
 		</method>
 		</method>
 		<method name="print" qualifiers="vararg">
 		<method name="print" qualifiers="vararg">
 			<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", "b", a) # Prints ab[1, 2, 3]
 				print("a", "b", a) # Prints ab[1, 2, 3]
@@ -994,7 +994,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.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="str2var">
 		<method name="str2var">