2009-01-17 | Paul Boddie | file changeset files shortlog | Insist on Const instances as keys for the constants dictionary, ensuring that distinct values are recognised, particularly True and 1, False and 0. |
paul@101 | 1 | #!/usr/bin/env python |
paul@101 | 2 | |
paul@101 | 3 | a = 1 |
paul@101 | 4 | b = 0 |
paul@101 | 5 | c = a and b |
paul@101 | 6 | d = a or b |
paul@101 | 7 | |
paul@101 | 8 | # vim: tabstop=4 expandtab shiftwidth=4 |