Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. class JohnSmith:
  2.     def say(self):
  3.         print(self)
  4.  
  5. john = JohnSmith()
  6. john.say() # <__main__.JohnSmith object at 0x0000000>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement