[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/__init__.py
Made explicitely clear that default is also a keyword argument.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Jul 13 18:25:31 EDT 2004
Log message for revision 26511:
Made explicitely clear that default is also a keyword argument.
Changed:
U Zope3/trunk/src/zope/component/__init__.py
-=-
Modified: Zope3/trunk/src/zope/component/__init__.py
===================================================================
--- Zope3/trunk/src/zope/component/__init__.py 2004-07-13 21:49:44 UTC (rev 26510)
+++ Zope3/trunk/src/zope/component/__init__.py 2004-07-13 22:25:30 UTC (rev 26511)
@@ -261,4 +261,4 @@
def queryResource(name, request, default=None, providing=Interface,
context=None):
s = getService(Presentation, context)
- return s.queryResource(name, request, default, providing=providing)
+ return s.queryResource(name, request, default=default, providing=providing)
More information about the Zope3-Checkins
mailing list