Skip to content

Instantly share code, notes, and snippets.

@sweemeng
Created January 14, 2010 02:23
Show Gist options
  • Save sweemeng/276796 to your computer and use it in GitHub Desktop.
Save sweemeng/276796 to your computer and use it in GitHub Desktop.
#Don't Do This, it will cause a runtime error,
d = {"a":1,"b":2,"c":3}
for i in d:
del d[i]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment