Guest User

Untitled

a guest
Jul 16th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class Outer():
  2. def __init__(self):
  3. self.test = 'LALALA LALA'
  4. class Inner():
  5. def readOuter(that):
  6. that.blah = self.test
  7. return that.blah
  8. self.inner = Inner()
  9. def what(self):
  10. return self.inner.readOuter()
  11.  
  12. instance = Outer()
  13. print instance.what()
Add Comment
Please, Sign In to add comment