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

Class UndoHandle

source code

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.

Instance Methods [hide private]
 
__init__(self, handle) source code
 
readlines(self, *args, **keywds) source code
 
readline(self, *args, **keywds) source code
 
read(self, size=-1) source code
 
saveline(self, line) source code
 
peekline(self) source code
 
tell(self) source code
 
seek(self, *args) source code
 
__getattr__(self, attr) source code