Skip to content

Instantly share code, notes, and snippets.

@kdheepak
Created March 9, 2017 23:31
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 kdheepak/e73898972e715a2cdfb3b7adf5c4da29 to your computer and use it in GitHub Desktop.
Save kdheepak/e73898972e715a2cdfb3b7adf5c4da29 to your computer and use it in GitHub Desktop.
def __repr__(self):
return '<%s.%s object at %s>' % (
self.__class__.__module__,
self.__class__.__name__,
hex(id(self))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment