Package twisted :: Package test :: Module test_tendril :: Class StringIOWithoutClosing
[show private | hide private]
[frames | no frames]

Class StringIOWithoutClosing

StringIO --+
           |
          StringIOWithoutClosing


Method Summary
  __init__(self, buf)
(inherited from StringIO)
  __iter__(self)
(inherited from StringIO)
  close(self)
Free the memory buffer.
  flush(self)
(inherited from StringIO)
  getAll(self)
  getvalue(self)
Retrieve the entire contents of the "file" at any time before the StringIO object's close() method is called.
  isatty(self)
(inherited from StringIO)
  read(self, n)
(inherited from StringIO)
  readline(self, length)
(inherited from StringIO)
  readlines(self, sizehint)
(inherited from StringIO)
  resetCounter(self)
  seek(self, pos, mode)
(inherited from StringIO)
  tell(self)
(inherited from StringIO)
  truncate(self, size)
(inherited from StringIO)
  write(self, s)
(inherited from StringIO)
  writelines(self, list)
(inherited from StringIO)

Class Variable Summary
int zeroAt

Method Details

close(self)

Free the memory buffer.
Overrides:
StringIO.StringIO.close (inherited documentation)

getvalue(self)

Retrieve the entire contents of the "file" at any time before the StringIO object's close() method is called.

The StringIO object can accept either Unicode or 8-bit strings, but mixing the two may take some care. If both are used, 8-bit strings that cannot be interpreted as 7-bit ASCII (that use the 8th bit) will cause a UnicodeError to be raised when getvalue() is called.
Overrides:
StringIO.StringIO.getvalue (inherited documentation)

Class Variable Details

zeroAt

Type:
int
Value:
0                                                                      

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:26:19 2003 http://epydoc.sf.net