2016-11-19 | Paul Boddie | file changeset files shortlog | Make sure that structures are generated for functions whose names are reused and whose program locations therefore yield variable references. |
paul@2 | 1 | from B import C, g |
paul@2 | 2 | |
paul@2 | 3 | class D(C): |
paul@2 | 4 | d = 3 |
paul@2 | 5 | |
paul@2 | 6 | def f(x): |
paul@2 | 7 | return x |
paul@2 | 8 | |
paul@2 | 9 | def h(x): |
paul@2 | 10 | return g(x) |