stripe/stripe-python — comment on commit ebcfb1dfb58800eb7490f5be46d7bc7536172280
File: stripe/__init__.py line 532
By gdb:

- str will break for unicode strings (not sure how you want to handle)
- I would do

if isinstance(self.get('object'), basestring):
type_string = ' %s' % str(self.get('object'))
else:
type_string = ''