[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/component/interfaces.py Backported

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 12 15:18:09 EDT 2004


Log message for revision 27076:
  Backported 
  r26511 | srichter | 2004-07-13 18:25:30 -0400 (Tue, 13 Jul 2004) | 2 lines
  
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/src/zope/component/interfaces.py


-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/component/interfaces.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/component/interfaces.py	2004-08-12 19:16:05 UTC (rev 27075)
+++ Zope3/branches/ZopeX3-3.0/src/zope/component/interfaces.py	2004-08-12 19:18:08 UTC (rev 27076)
@@ -552,7 +552,7 @@
 class IPresentationService(Interface):
     """A service to manage Presentation components."""
 
-    def queryResource(name, request, providing=Interface, default=None):
+    def queryResource(name, request, default=None, providing=Interface):
         """Look up a named resource for a given request
 
         The request must implement IPresentationRequest.
@@ -560,7 +560,7 @@
         The default will be returned if the component can't be found.
         """
 
-    def queryView(object, name, request, providing=Interface, default=None):
+    def queryView(object, name, request, default=None, providing=Interface):
         """Look for a named view for a given object and request
 
         The request must implement IPresentationRequest.



More information about the Zope3-Checkins mailing list