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

Class UndoHandle

source code

object --+
         |
        UndoHandle

A Python handle that adds functionality for saving lines.

Saves lines in a LIFO fashion.

Added methods:

Instance Methods [hide private]
 
__init__(self, handle)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__iter__(self) source code
 
__next__(self) source code
 
next(self)
Python 2 style alias for Python 3 style __next__ method.
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
 
__enter__(self) source code
 
__exit__(self, type, value, traceback) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)