[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/interfaces.py - fix copy-&-paste errors

Fred L. Drake, Jr. fdrake at gmail.com
Mon Jan 8 17:28:11 EST 2007


Log message for revision 71834:
  - fix copy-&-paste errors
  - add note about the return value of unregisterHandler()
  

Changed:
  U   Zope3/trunk/src/zope/component/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/component/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/component/interfaces.py	2007-01-08 21:43:51 UTC (rev 71833)
+++ Zope3/trunk/src/zope/component/interfaces.py	2007-01-08 22:28:11 UTC (rev 71834)
@@ -769,7 +769,7 @@
 
     def unregisterSubscriptionAdapter(factory=None, required=None,
                                       provides=None, name=u''):
-        """Register a subscriber factory
+        """Unregister a subscriber factory.
 
         A boolean is returned indicating whether the registry was
         changed.  If the given component is None and there is no
@@ -861,11 +861,14 @@
         """
 
     def unregisterHandler(handler=None, required=None, name=u''):
-        """Register a handler.
+        """Unregister a handler.
 
         A handler is a subscriber that doesn't compute an adapter
         but performs some function when called.
 
+        A boolean is returned indicating whether the registry was
+        changed.
+
         Parameters:
 
         handler



More information about the Zope3-Checkins mailing list