Package rekall :: Module obj :: Class NoneObject
[frames] | no frames]

Class NoneObject

source code


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

Instantiate with the reason for the error.

Nested Classes
  __metaclass__
Give each object a unique ID.
Instance Methods
 
__init__(self, reason='None Object', *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code
 
FormatReason(self) source code
 
__repr__(self)
repr(x)
source code
 
__setitem__(self, item, other) source code
 
__format__(self, formatstring)
We suppress output for all format operators.
source code
 
write(self, _)
Write procedure only ever returns False
source code
 
__iter__(self) source code
 
__len__(self) source code
 
__getattr__(self, attr) source code
 
__bool__(self) source code
 
__nonzero__(self) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__gt__(self, _) source code
 
__lt__(self, _) source code
 
__le__(self, _) source code
 
__ge__(self, _) source code
 
__call__(self, *arg, **kwargs) source code
 
__int__(self) source code
 
__add__(self, *arg, **kwargs) source code
 
__sub__(self, *arg, **kwargs) source code
 
__mul__(self, *arg, **kwargs) source code
 
__floordiv__(self, *arg, **kwargs) source code
 
__mod__(self, *arg, **kwargs) source code
 
__div__(self, *arg, **kwargs) source code
 
__divmod__(self, *arg, **kwargs) source code
 
__pow__(self, *arg, **kwargs) source code
 
__lshift__(self, *arg, **kwargs) source code
 
__rshift__(self, *arg, **kwargs) source code
 
__and__(self, *arg, **kwargs) source code
 
__xor__(self, *arg, **kwargs) source code
 
__or__(self, *arg, **kwargs) source code
 
__radd__(self, *arg, **kwargs) source code
 
__rsub__(self, *arg, **kwargs) source code
 
__rmul__(self, *arg, **kwargs) source code
 
__rfloordiv__(self, *arg, **kwargs) source code
 
__rmod__(self, *arg, **kwargs) source code
 
__rdivmod__(self, *arg, **kwargs) source code
 
__rpow__(self, *arg, **kwargs) source code
 
__rlshift__(self, *arg, **kwargs) source code
 
__rrshift__(self, *arg, **kwargs) source code
 
__rand__(self, *arg, **kwargs) source code
 
__rxor__(self, *arg, **kwargs) source code
 
__ror__(self, *arg, **kwargs) source code
 
dereference_as(self, *arg, **kwargs) source code
 
__getitem__(self, *arg, **kwargs) source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, reason='None Object', *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__format__(self, formatstring)

source code 

We suppress output for all format operators.

Overrides: object.__format__