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

Class _DevNull


A "file-like" object that discards anything that is written and always reports end-of-file when read. _DevNull is used by import_module to discard output when importing modules; and to ensure that stdin appears closed.
Method Summary
  __init__(self)
  close(self)
  flush(self)
  read(self, size)
  readline(self, size)
  readlines(self, sizehint)
  seek(self, offset, whence)
  tell(self)
  truncate(self, size)
  write(self, str)
  writelines(self, sequence)
  xreadlines(self, sizehint)

Generated by Epydoc 2.1 on Sat Mar 20 17:46:14 2004 http://epydoc.sf.net