def dis(self, asm_format=False, show_bytes=False):
co = self.codeobj<EOL>if self.current_offset is not None:<EOL><INDENT>offset = self.current_offset<EOL><DEDENT>else:<EOL><INDENT>offset = -<NUM_LIT:1><EOL><DEDENT>output = StringIO()<EOL>self.disassemble_bytes(co.co_code, varnames=co.co_varnames,<EOL>names=co.co_names, constants=co.co_consts,<EOL>cells=self._cell_names,<EOL>linestarts=self._linestarts,<EOL>line_offset=self._line_offset,<EOL>file=output,<EOL>lasti=offset,<EOL>asm_format=asm_format,<EOL>show_bytes=show_bytes)<EOL>return output.getvalue()<EOL>
Return a formatted view of the bytecode operations.