2011-07-02 | Paul Boddie | file changeset files shortlog | Moved some code generation methods into a new Assembler class. Separated sequence element storage into a separate method which may form the basis of a native library routine. |
paul@404 | 1 | #!/usr/bin/env python |
paul@404 | 2 | |
paul@404 | 3 | def e(self, x): |
paul@404 | 4 | return x |
paul@404 | 5 | |
paul@404 | 6 | class C: |
paul@404 | 7 | e = e |
paul@404 | 8 | |
paul@404 | 9 | c = C() |
paul@404 | 10 | result_3 = c.e(3) |
paul@404 | 11 | |
paul@404 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |