def instructions(self): if not self._instructions: self._instructions = list(dis.get_instructions(self)) return self._instructions