Revision 1762
Added by Aaron Marcuse-Kubitza over 12 years ago
streams.py | ||
---|---|---|
60 | 60 |
|
61 | 61 |
def readline(self): return self.filter(self.stream.readline()) |
62 | 62 |
|
63 |
def read(self, n): return self.readline() # forward all reads to readline() |
|
64 |
|
|
63 | 65 |
def write(self, str_): return self.stream.write(self.filter(str_)) |
64 | 66 |
|
65 | 67 |
class TracedStream(FilterStream): |
Also available in: Unified diff
streams.py: FilterStream: Forward all reads to readline()