Last active
June 6, 2016 01:14
-
-
Save makmanalp/68ca9b5cd110930603d7ea9015b443de to your computer and use it in GitHub Desktop.
Code in the body of a class - 5
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
In [8]: class Blah(object): | |
....: class Blah2(object): | |
....: pass | |
....: | |
In [9]: Blah.Blah2 | |
Out[9]: __main__.Blah.Blah2 | |
In [10]: Blah.Blah2() | |
Out[10]: <__main__.Blah.Blah2 at 0x10c77a630> | |
In [11]: Blah() | |
Out[11]: <__main__.Blah at 0x10c77ab00> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment