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@273 | 1 | #!/usr/bin/env python |
paul@273 | 2 | |
paul@273 | 3 | class C: |
paul@273 | 4 | pass |
paul@273 | 5 | |
paul@273 | 6 | class D: |
paul@273 | 7 | def __init__(self): |
paul@273 | 8 | pass |
paul@273 | 9 | |
paul@273 | 10 | class E: |
paul@273 | 11 | def __init__(self, x): |
paul@273 | 12 | pass |
paul@273 | 13 | |
paul@273 | 14 | c = C() |
paul@273 | 15 | d = D() |
paul@273 | 16 | e = E() |
paul@273 | 17 | |
paul@273 | 18 | # vim: tabstop=4 expandtab shiftwidth=4 |