Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/s/o/solitude-HEAD/lib/paypal/client.py   solitude(Download)
 
from .header import get_auth_header
from .constants import (HEADERS_URL, HEADERS_TOKEN, PAYPAL_PERSONAL,
                        PAYPAL_PERSONAL_LOOKUP, REFUND_OK_STATUSES)
from .errors import errors, AuthError, PaypalDataError, PaypalError
                clean_responses.append(d)
                continue
            if d['refundStatus'] not in REFUND_OK_STATUSES:
                raise PaypalError('Bad refund status for %s: %s'
                                  % (d['receiver.email'], d['refundStatus']))