Skip to content

Instantly share code, notes, and snippets.

@mw44118
Created June 18, 2013 16:51
Show Gist options
  • Save mw44118/5807137 to your computer and use it in GitHub Desktop.
Save mw44118/5807137 to your computer and use it in GitHub Desktop.
Wasted time on this syntax error
d1 = dict(
user_id=99,
display_name='Matt Wilson')
d2 = dict(
email_address='matt@tplus1.com',
**d1,)
@mw44118
Copy link
Author

mw44118 commented Jun 18, 2013

The trailing comma after **d1 is apparently not OK.

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