Skip to content

Commit ebe6d31

Browse files
committed
Fixes DurhamARC-Training#70, changes the description for the read and readlines IO
methods
1 parent 606ad52 commit ebe6d31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Intermediate.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -951,8 +951,8 @@
951951
"\n",
952952
"Here are some file functions for reading from a file:\n",
953953
"\n",
954-
"* file.read() - Read the entire file content line-by-line\n",
955-
"* file.readlines() - Read all lines into a List object"
954+
"* file.read() - Read the entire file content as a newline (\\n) separated string.\n",
955+
"* file.readlines() - Read all lines into a List object. Each element in the list will contain one line including its newline character (\\n)."
956956
]
957957
},
958958
{

Intermediate_full.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,8 @@
918918
"\n",
919919
"Here are some file functions for reading from a file:\n",
920920
"\n",
921-
"* file.read() - Read the entire file content line-by-line\n",
922-
"* file.readlines() - Read all lines into a List object"
921+
"* file.read() - Read the entire file content as a newline (\\n) separated string.\n",
922+
"* file.readlines() - Read all lines into a List object. Each element in the list will contain one line including its newline character (\\n)."
923923
]
924924
},
925925
{

0 commit comments

Comments
 (0)