[Zope3-checkins] CVS: Zope3/src/zope/component - interfaces.py:1.10

Anthony Baxter anthony@interlink.com.au
Sun, 13 Jul 2003 00:25:15 -0400


Update of /cvs-repository/Zope3/src/zope/component
In directory cvs.zope.org:/tmp/cvs-serv10366

Modified Files:
	interfaces.py 
Log Message:
update docstring to reflect reality of provideAdapter (can take a sequence
of factories)


=== Zope3/src/zope/component/interfaces.py 1.9 => 1.10 ===
--- Zope3/src/zope/component/interfaces.py:1.9	Fri Jul 11 21:22:13 2003
+++ Zope3/src/zope/component/interfaces.py	Sun Jul 13 00:25:10 2003
@@ -439,8 +439,9 @@
 
         providedInterface -- The provided interface
 
-        maker -- a callable object that gets an adapter component for
-        a context component.
+        maker -- a sequence of factories that are used to create the adapter.
+        The first factory is called with the object to be adapted, subsequent
+        factories are called with the results of the previous factory.
         """
     def getRegisteredMatching(for_interface=None, provide_interface=None,
                               name=None):