Package spoon :: Module spoon :: Class StringIOWrap
[show private | hide private]
[frames | no frames]

Type StringIOWrap

object --+
         |
        StringIOWrap


Stupid wrapper around StringIO because it isn't a new style class. GRR!

I'm only implementing the methods that actually make sense for StringIOs and that we actually use.
Method Summary
  __init__(self, sio)
  __iter__(self)
  close(self)
  get_closed(self)
  get_len(self)
  getvalue(self)
  next(self)
  read(self, cnt)
  seek(self, pos)
  tell(self)
  write(self, data)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
  closed
  len

Property Details

closed

Get Method:
get_closed(self)

len

Get Method:
get_len(self)

Generated by Epydoc 2.1 on Sun Nov 26 15:33:58 2006 http://epydoc.sf.net