Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Outer():
- def __init__(self):
- self.test = 'LALALA LALA'
- class Inner():
- def readOuter(that):
- that.blah = self.test
- return that.blah
- self.inner = Inner()
- def what(self):
- return self.inner.readOuter()
- instance = Outer()
- print instance.what()
Add Comment
Please, Sign In to add comment