def __getitem__(self, k):
        try:
            return super(StripeObject, self).__getitem__(k)
        except __HOLE__ as err:
            if k in self._transient_values:
                raise KeyError(
                    "%r.  HINT: The %r attribute was set in the past."
                    "It was then wiped when refreshing the object with "
                    "the result returned by Stripe's API, probably as a "
                    "result of a save().  The attributes currently "
                    "available on this object are: %s" %
                    (k, k, ', '.join(self.keys())))
            else:
                raise err
dataset/ETHPy150Open stripe/stripe-python/stripe/resource.py/StripeObject.__getitem__