Created
March 9, 2017 23:31
-
-
Save kdheepak/e73898972e715a2cdfb3b7adf5c4da29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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