Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.support.xappy.replaylog.NotifyingDeleteObject Class Reference

List of all members.

Public Member Functions

def __init__
def __del__

Public Attributes

 obj
 callback

Detailed Description

An wrapping for an object which calls a callback when its deleted.

Note that the callback will be called from a __del__ method, so shouldn't
raise any exceptions, and probably shouldn't make new references to the
object supplied to it.

Definition at line 41 of file replaylog.py.


Constructor & Destructor Documentation

Definition at line 49 of file replaylog.py.

00049 
00050     def __init__(self, obj, callback):
00051         self.obj = obj
00052         self.callback = callback

Definition at line 53 of file replaylog.py.

00053 
00054     def __del__(self):
00055         self.callback(self.obj)


Member Data Documentation

Definition at line 51 of file replaylog.py.

Definition at line 50 of file replaylog.py.


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