2016-12-10 | Paul Boddie | raw files shortlog changelog graph | Removed superfluous type checks. | |
lib/posix/io.py (file) |
1.1 --- a/lib/posix/io.py Sat Dec 10 00:56:17 2016 +0100 1.2 +++ b/lib/posix/io.py Sat Dec 10 00:56:32 2016 +0100 1.3 @@ -44,14 +44,12 @@ 1.4 1.5 "Read 'n' bytes from the file, returning a string." 1.6 1.7 - check_int(n) 1.8 return read(self.fd, n) 1.9 1.10 def write(self, s): 1.11 1.12 "Write string 's' to the file." 1.13 1.14 - check_string(s) 1.15 return write(self.fd, s) 1.16 1.17 def close(self):