Skip to content

Commit b804193

Browse files
[Doc] Clarify behavior of FileAccess.get_line
Specifies that the line excludes any newline or carriage return characters.
1 parent 658e97c commit b804193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/FileAccess.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
<method name="get_line" qualifiers="const">
191191
<return type="String" />
192192
<description>
193-
Returns the next line of the file as a [String].
193+
Returns the next line of the file as a [String]. The returned string doesn't include newline ([code]\n[/code]) or carriage return ([code]\r[/code]) characters, but does include any other leading or trailing whitespace.
194194
Text is interpreted as being UTF-8 encoded.
195195
</description>
196196
</method>

0 commit comments

Comments
 (0)