[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/interfaces.py Changed parametername to correspond to documentation and implementation

Jürgen Kartnaller juergen at kartnaller.at
Sun May 28 11:34:07 EDT 2006


Log message for revision 68313:
  Changed parametername to correspond to documentation and implementation

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

-=-
Modified: Zope3/trunk/src/zope/component/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/component/interfaces.py	2006-05-28 15:14:20 UTC (rev 68312)
+++ Zope3/trunk/src/zope/component/interfaces.py	2006-05-28 15:34:06 UTC (rev 68313)
@@ -821,7 +821,7 @@
         registrations in the object.
         """
 
-    def registerHandler(handler, adapts=None, name=u'', info=''):
+    def registerHandler(handler, required=None, name=u'', info=''):
         """Register a handler.
 
         A handler is a subscriber that doesn't compute an adapter
@@ -858,7 +858,7 @@
         A Registered event is generated with an IHandlerRegistration.
         """
 
-    def unregisterHandler(handler=None, adapts=None, name=u''):
+    def unregisterHandler(handler=None, required=None, name=u''):
         """Register a handler.
 
         A handler is a subscriber that doesn't compute an adapter



More information about the Zope3-Checkins mailing list