File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff line change 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 {
You can’t perform that action at this time.
0 commit comments