2012-07-07 | Paul Boddie | file changeset files shortlog | Filter out __init__.py files when looking for submodule files. |
paul@362 | 1 | #!/usr/bin/env python |
paul@362 | 2 | |
paul@362 | 3 | def test(): |
paul@362 | 4 | x = [1, 2, 3] |
paul@362 | 5 | if x: |
paul@362 | 6 | y = len(x) |
paul@362 | 7 | else: |
paul@362 | 8 | def len(arg): |
paul@362 | 9 | return 0 |
paul@362 | 10 | |
paul@362 | 11 | return len(x) |
paul@362 | 12 | |
paul@362 | 13 | test() |
paul@362 | 14 | |
paul@362 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |