From 0551097b5dde6405b00b490a3ff8bcf4a58c566b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 6 Jul 2019 15:32:49 +0200 Subject: [PATCH] Open --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ece342f..8230b3b 100644 --- a/README.md +++ b/README.md @@ -1409,8 +1409,8 @@ Open ```python = .read(size=-1) # Reads 'size' chars/bytes or until EOF. - = .readline() # Returns a line. - = .readlines() # Returns a list of lines. + = .readline() # Returns a line or empty string on EOF. + = .readlines() # Returns a list of lines or empty list. = next() # Returns a line using buffer. Do not mix. ``` diff --git a/index.html b/index.html index c4972a0..36fd517 100644 --- a/index.html +++ b/index.html @@ -1285,8 +1285,8 @@ value = args.<name> <bin_file>.seek(±offset, <anchor>) # Anchor: 0 start, 1 current pos., 2 end.
<str/bytes> = <file>.read(size=-1)  # Reads 'size' chars/bytes or until EOF.
-<str/bytes> = <file>.readline()     # Returns a line.
-<list>      = <file>.readlines()    # Returns a list of lines.
+<str/bytes> = <file>.readline()     # Returns a line or empty string on EOF.
+<list>      = <file>.readlines()    # Returns a list of lines or empty list.
 <str/bytes> = next(<file>)          # Returns a line using buffer. Do not mix.
 
<file>.write(<str/bytes>)           # Writes a string or bytes object.