Package epydoc :: Module docintrospecter :: Class _DevNull
[hide private]
[frames] | no frames]

Class _DevNull

source code

A "file-like" object that discards anything that is written and always reports end-of-file when read. _DevNull is used by _import() to discard output when importing modules; and to ensure that stdin appears closed.

Instance Methods [hide private]
 
__init__(self) source code
 
close(self) source code
 
flush(self) source code
 
read(self, size=0) source code
 
readline(self, size=0) source code
 
readlines(self, sizehint=0) source code
 
seek(self, offset, whence=0) source code
 
tell(self) source code
 
truncate(self, size=0) source code
 
write(self, str) source code
 
writelines(self, sequence) source code
 
xreadlines(self, sizehint=0) source code