SF.net SVN: fclient: [179] trunk/sandbox/fcp/fcp_lib/events.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-02-08 09:11:37
|
Revision: 179
http://fclient.svn.sourceforge.net/fclient/?rev=179&view=rev
Author: jurner
Date: 2008-02-08 01:11:42 -0800 (Fri, 08 Feb 2008)
Log Message:
-----------
added a note
Modified Paths:
--------------
trunk/sandbox/fcp/fcp_lib/events.py
Modified: trunk/sandbox/fcp/fcp_lib/events.py
===================================================================
--- trunk/sandbox/fcp/fcp_lib/events.py 2008-02-08 08:39:39 UTC (rev 178)
+++ trunk/sandbox/fcp/fcp_lib/events.py 2008-02-08 09:11:42 UTC (rev 179)
@@ -104,7 +104,11 @@
self.observers = []
def __call__(self, *args, **kwargs):
- """Dispatches the event and additional parameters to all observers registerd"""
+ """Dispatches the event and additional parameters to all observers registerd
+
+ @note: all listeners will be called with the event a first parameter, followed
+ by optional args and kwargs
+ """
for o in self.observers:
o(self, *args, **kwargs)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|