[Zope3-checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IComponentArchitecture.py:1.4

Steve Alexander steve@cat-box.net
Fri, 20 Dec 2002 10:38:24 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv13108

Modified Files:
	IComponentArchitecture.py 
Log Message:
removed 'default' argument from getAdapter. Only queryAdapter should
have the default.


=== Zope3/lib/python/Zope/ComponentArchitecture/IComponentArchitecture.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/ComponentArchitecture/IComponentArchitecture.py:1.3	Sun Dec 15 15:16:38 2002
+++ Zope3/lib/python/Zope/ComponentArchitecture/IComponentArchitecture.py	Fri Dec 20 10:38:23 2002
@@ -57,7 +57,7 @@
 
     # Adapter service
 
-    def getAdapter(object, interface, default=None, name='', context=None):
+    def getAdapter(object, interface, name='', context=None):
         """Get adapter to interface for object
 
         Returns the nearest adapter to the context that can adapt