Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Test whether an interface is implemented by the specification

src/p/a/PayPy-0.6/paypy/serializers/authnet/arb.py   PayPy(Download)
        elif IAuthnetSubscriptionUpdate.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['update']
        elif IAuthnetSubscriptionStatus.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['status']
        elif IAuthnetSubscriptionCancel.providedBy(trans):

src/p/a/PayPy-0.6/paypy/adapters/authnet/arb.py   PayPy(Download)
    def status(self):
        """Retrieve the subscription's status."""
 
        if not IAuthnetSubscriptionStatus.providedBy(self.options.subscription):
            raise ARBException('a status request must conform to the IAuthnetSubscriptionStatus interface')