2012-07-15 | Paul Boddie | file changeset files shortlog | Show only distinct attribute name lists when showing attribute usage for names. |
paul@450 | 1 | #!/usr/bin/env python |
paul@450 | 2 | |
paul@450 | 3 | class A: |
paul@450 | 4 | pass |
paul@450 | 5 | |
paul@450 | 6 | a = A() |
paul@450 | 7 | result_1 = a.__class__ is not type and 1 or 0 |
paul@450 | 8 | |
paul@450 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |