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@130 | 1 | #!/usr/bin/env python |
paul@130 | 2 | |
paul@130 | 3 | a = 1 |
paul@130 | 4 | b = 0 |
paul@130 | 5 | e = a and b or not a and not b |
paul@130 | 6 | |
paul@130 | 7 | # vim: tabstop=4 expandtab shiftwidth=4 |