From d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 3 May 2014 22:01:32 +0100 Subject: py, stream: Implement readlines for a stream. --- tests/io/file1.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/io/file1.py b/tests/io/file1.py index 8552f535b..7d5154a4f 100644 --- a/tests/io/file1.py +++ b/tests/io/file1.py @@ -2,3 +2,5 @@ f = open("io/data/file1") print(f.read(5)) print(f.readline()) print(f.read()) +f = open("io/data/file1") +print(f.readlines()) -- cgit v1.2.3