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 IAuthnetSubscriptionStatus.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['status']
        elif IAuthnetSubscriptionCancel.providedBy(trans):
            operation = ARB_REQUEST_ELEMENTS['cancel']
        else:

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