2012-05-11 | Paul Boddie | file changeset files shortlog | Added support for loading submodules given as imported names in "from" statements (such as "module" in "from imported_package import module" referring to "imported_package.module"). |
paul@450 | 1 | #!/usr/bin/env python |
paul@450 | 2 | |
paul@450 | 3 | class A: |
paul@450 | 4 | pass |
paul@450 | 5 | |
paul@450 | 6 | a = A() |
paul@450 | 7 | result_1 = a.__class__ is not type and 1 or 0 |
paul@450 | 8 | |
paul@450 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |