[Checkins]
SVN: z3c.componentdebug/trunk/src/z3c/componentdebug/README.txt
Clarify some usefulness of inspectRequiredAdapters
Ross Patterson
me at rpatterson.net
Wed May 30 15:39:04 EDT 2007
Log message for revision 76011:
Clarify some usefulness of inspectRequiredAdapters
Changed:
U z3c.componentdebug/trunk/src/z3c/componentdebug/README.txt
-=-
Modified: z3c.componentdebug/trunk/src/z3c/componentdebug/README.txt
===================================================================
--- z3c.componentdebug/trunk/src/z3c/componentdebug/README.txt 2007-05-30 19:35:24 UTC (rev 76010)
+++ z3c.componentdebug/trunk/src/z3c/componentdebug/README.txt 2007-05-30 19:39:04 UTC (rev 76011)
@@ -32,7 +32,7 @@
>>> class IBaz(Interface): pass
inspectRequiredAdapters
-----------------------
+-----------------------
inspectRequiredAdapters provides inspection of registrations that
provide a specific interface. Unlike
@@ -83,7 +83,8 @@
IBaz, '', getBaz, u'')})]
When we remove one of the required interfaces, we can see what
-regisration might have otherwise fulfilled the lookup::
+regisration might have otherwise fulfilled the lookup and which object
+is the one that prevents the lookup from succeeding::
>>> from zope.interface import noLongerProvides
>>> noLongerProvides(bar, IBar)
More information about the Checkins
mailing list