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@233 | 1 | #!/usr/bin/env python |
paul@233 | 2 | |
paul@233 | 3 | class C: |
paul@233 | 4 | def m(self, x): |
paul@233 | 5 | return x |
paul@233 | 6 | |
paul@233 | 7 | c = C() |
paul@233 | 8 | result_123 = c.m(x=123) |
paul@233 | 9 | |
paul@233 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |