[Zope-CVS] CVS: Products/Event - EventRegistry.py:1.2
Martijn Pieters
mj@zope.com
Fri, 20 Sep 2002 10:35:43 -0400
Update of /cvs-repository/Products/Event
In directory cvs.zope.org:/tmp/cvs-serv8962
Modified Files:
EventRegistry.py
Log Message:
Update documentation strings.
=== Products/Event/EventRegistry.py 1.1 => 1.2 ===
--- Products/Event/EventRegistry.py:1.1 Thu Sep 19 20:03:41 2002
+++ Products/Event/EventRegistry.py Fri Sep 20 10:35:42 2002
@@ -10,7 +10,8 @@
optionally a definition. If no definition is given, the Interface
docstring will be used instead.
- - TODO: fill in listEvents interface.
+ - Consumers interested in event interfaces can use the listEvents and
+ getEvent* methods to discover available Event information.
$Id$
"""
@@ -30,7 +31,7 @@
def listEvents(self, with_metadata=0):
"""List the registered event interfaces.
- - If 'with_metadata', then return a sequence of (interface, title,
+ - If 'with_metadata', then return a sequence of (key, title,
description) tuples.
- Otherwise, return a sequence of keys.