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@339 | 1 | #!/usr/bin/env python |
paul@339 | 2 | |
paul@339 | 3 | a = 1 |
paul@339 | 4 | |
paul@339 | 5 | def after(): |
paul@339 | 6 | a = 2 |
paul@339 | 7 | b = a |
paul@339 | 8 | return b |
paul@339 | 9 | |
paul@339 | 10 | result_2 = after() |
paul@339 | 11 | |
paul@339 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |