Skip to content

Instantly share code, notes, and snippets.

@davbo
Created June 10, 2012 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davbo/2907608 to your computer and use it in GitHub Desktop.
Save davbo/2907608 to your computer and use it in GitHub Desktop.
New vs. Old
>>> class Old():
... pass
...
>>> class New(object):
... pass
...
>>> type(Old())
<type 'instance'>
>>> type(New())
<class '__main__.New'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment