Module relax_io :: Class SplitIO
[hide private]
[frames] | no frames]

Class SplitIO

source code

Instance Methods [hide private]
 
__init__(self)
Class for splitting an IO stream to two outputs.
source code
 
flush(self)
Flush all streams.
source code
bool
isatty(self)
Check that both streams are TTYs.
source code
 
split(self, stream1, stream2)
Function for setting the streams.
source code
 
write(self, text)
Replacement write function.
source code
Method Details [hide private]

isatty(self)

source code 

Check that both streams are TTYs.

Returns: bool
True, only if both streams are TTYs.