Skip to content

Instantly share code, notes, and snippets.

@jacob414
Created November 15, 2011 12:13
Show Gist options
  • Save jacob414/1366934 to your computer and use it in GitHub Desktop.
Save jacob414/1366934 to your computer and use it in GitHub Desktop.
Minimal Python expando class
class Expando(object):
def __init__(self, *args, **kw):
self.__dict__.update(kw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment