Skip to content

Instantly share code, notes, and snippets.

@slinkp
Created December 4, 2013 22:18
Show Gist options
  • Save slinkp/7796628 to your computer and use it in GitHub Desktop.
Save slinkp/7796628 to your computer and use it in GitHub Desktop.
Python traceback example
Traceback (most recent call last):
...
data = [(entry['key'], entry['count']) for entry in response['data']['subtotal']]
TypeError: 'NoneType' object is unsubscriptable
@christianbundy
Copy link

πŸ‘ This came in handy today.

@jakesylvestre
Copy link

πŸ‘

@christianbundy
Copy link

πŸ‘

@jakesylvestre
Copy link

πŸ‘

@ethe
Copy link

ethe commented Jan 25, 2016

πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment