Did I find the right examples for you? yes no

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

src/p/a/PayPy-0.6/paypy/serializers/authnet/cim.py   PayPy(Download)
                            payment = billing.payment
 
                            if ICreditCard.providedBy(payment):
                                # Credit card payment type
                                creditcard = ET.SubElement(payment_profile, 'creditCard')
                payment = trans.payment
 
                if ICreditCard.providedBy(payment):
                    # Credit card payment type
                    pymnt      = ET.SubElement(payment_profile, 'payment')
                payment = trans.payment
 
                if ICreditCard.providedBy(payment):
                    # Credit card payment type
                    pymnt      = ET.SubElement(payment_profile, 'payment')

src/p/a/PayPy-0.6/paypy/serializers/authnet/arb.py   PayPy(Download)
            # Build the payment element
            if trans.payment is not None:
                if ICreditCard.providedBy(trans.payment):
                    payment = ET.SubElement(subscription, 'payment')
                    credit  = ET.SubElement(payment, 'creditCard')