[Checkins] SVN: bluebream/trunk/docs/source/faq.rst one more FAQ
Baiju M
baiju.m.mail at gmail.com
Thu Jan 14 06:48:58 EST 2010
Log message for revision 108117:
one more FAQ
Changed:
U bluebream/trunk/docs/source/faq.rst
-=-
Modified: bluebream/trunk/docs/source/faq.rst
===================================================================
--- bluebream/trunk/docs/source/faq.rst 2010-01-14 11:47:35 UTC (rev 108116)
+++ bluebream/trunk/docs/source/faq.rst 2010-01-14 11:48:58 UTC (rev 108117)
@@ -1102,6 +1102,17 @@
Miscellaneous
-------------
+How to check an object is implementing/providing a particular interface ?
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Use the ``providedBy`` available for the interface, it will return
+True, if the object provides the interface otherwise False.
+
+Eg::
+
+ >>> IMyInterface.providedBy(myobject)
+ True
+
How do I run a particular test from a package?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the checkins
mailing list