# HG changeset patch # User Paul Boddie # Date 1481327792 -3600 # Node ID 0978d9f032c93009afb36101621b9dc3fe4dd6ba # Parent 5e5de08b522bb4cc088130b29c75a3e9a5ecf7c6 Removed superfluous type checks. diff -r 5e5de08b522b -r 0978d9f032c9 lib/posix/io.py --- a/lib/posix/io.py Sat Dec 10 00:56:17 2016 +0100 +++ b/lib/posix/io.py Sat Dec 10 00:56:32 2016 +0100 @@ -44,14 +44,12 @@ "Read 'n' bytes from the file, returning a string." - check_int(n) return read(self.fd, n) def write(self, s): "Write string 's' to the file." - check_string(s) return write(self.fd, s) def close(self):