2007-01-06 | paulb | file changeset files shortlog | Added support for functions referencing themselves. Added local scope indication in the viewer (showing local/nested classes and functions). Added tests of nested classes and functions. |
paulb@169 | 1 | def f(): |
paulb@169 | 2 | class C: |
paulb@169 | 3 | pass |
paulb@169 | 4 | return C |
paulb@169 | 5 | |
paulb@169 | 6 | c = f() |