Example #1
0
    def get_memories(self, lo=0, hi=999):
        mems = []
        for i in range(lo, hi):
            try:
                mems.append(xml_ll.get_memory(self.doc, i))
            except errors.InvalidMemoryLocation:
                pass

        return mems
Example #2
0
    def get_memory(self, number):
        mem = xml_ll.get_memory(self.doc, number)

        return mem