The Volatility Framework
volatility.obj.NoneObject Class Reference

A magical object which is like None but swallows bad dereferences, getattribute, iterators etc to return itself. More...

Inheritance diagram for volatility.obj.NoneObject:

Public Member Functions

def __init__
 
def __str__ (self)
 
def write (self, data)
 Write procedure only ever returns False.
 
def __repr__ (self)
 
def __iter__ (self)
 Behave like an empty set.
 
def __len__ (self)
 
def __format__ (self, formatspec)
 
def next (self)
 
def __getattr__ (self, attr)
 
def __bool__ (self)
 
def __nonzero__ (self)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __getitem__ (self, item)
 Make us subscriptable obj[j].
 
def __call__ (self, arg, kwargs)
 
def __int__ (self)
 

Public Attributes

 reason
 
 strict
 
 bt
 

Detailed Description

A magical object which is like None but swallows bad dereferences, getattribute, iterators etc to return itself.

Instantiate with the reason for the error.


The documentation for this class was generated from the following file: