(self)
Erase the program from memory.
Erase the program from memory.
Erase the program from memory .
def erase(self):
        """Erase the program from memory."""
        self.bytecode.seek(0)
        self.bytecode.write(b'\0\0\0')
        self.protected = False
        self.line_numbers = {65536: 0}
        self.last_stored = None
        self.code_size = self.bytecode.tell()
        self.bytecode.truncate()
def erase ( self ) : self . bytecode . seek ( 0 ) self . bytecode . write ( b'\0\0\0' ) self . protected = False self . line_numbers = { 65536 : 0 } self . last_stored = None self . code_size = self . bytecode . tell ( ) self . bytecode . truncate ( )