2009-04-23 | Paul Boddie | file changeset files shortlog | Added missing built-in methods. Added inspection of "if" test expressions. Removed StoreName from the constant storage optimisation (until population of locals/frames is implemented). Added debugging attributes to RSVPMachine for the object and parameter lists. Fixed the StoreName instruction to use the source, not the value. Added common names in use. |
paul@182 | 1 | #!/usr/bin/env python |
paul@182 | 2 | |
paul@182 | 3 | class C: |
paul@182 | 4 | def __call__(self): |
paul@182 | 5 | return "called" |
paul@182 | 6 | |
paul@182 | 7 | c = C() |
paul@199 | 8 | result = c() |
paul@182 | 9 | |
paul@182 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |