2012-05-10 | Paul Boddie | file changeset files shortlog | Changed the builtins module loading to use the module search path. This makes it easier to run the test program from another location. Added a note about relative imports. |
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 |