Package Bio :: Module File :: Class UndoHandle
[show private | hide private]
[frames | no frames]

Class UndoHandle


A Python handle that adds functionality for saving lines.

Saves lines in a LIFO fashion.

Added methods: saveline Save a line to be returned next time. peekline Peek at the next line without consuming it.
Method Summary
  __init__(self, handle)
  __getattr__(self, attr)
  peekline(self)
  read(self, size)
  readline(self, *args, **keywds)
  readlines(self, *args, **keywds)
  saveline(self, line)
  seek(self, *args)
  tell(self)

Generated by Epydoc 2.1 on Thu Aug 10 20:01:08 2006 http://epydoc.sf.net