Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 2.7.2 (default, Jun 28 2011, 16:19:38)
- [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.9)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> class Foo(object):
- ... def bar(self, x):
- ... def baz(y):
- ... print self
- ... return baz(5)
- ...
- >>> Foo().bar(3)
- <__main__.Foo object at 0x10045cc90>
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement