(self)
Show the Ok or EDIT prompt, unless suppressed.
Show the Ok or EDIT prompt, unless suppressed.
Show the Ok or EDIT prompt unless suppressed .
def _show_prompt(self):
        """Show the Ok or EDIT prompt, unless suppressed."""
        if self._edit_prompt:
            linenum, tell = self._edit_prompt
            # unset edit prompt first, in case program.edit throws
            self._edit_prompt = False
            self.program.edit(self.console, linenum, tell)
        elif self._prompt:
            self.console.start_line()
            self.console.write_line(b'Ok\xff')
def _show_prompt ( self ) : if self . _edit_prompt : linenum , tell = self . _edit_prompt # unset edit prompt first, in case program.edit throws self . _edit_prompt = False self . program . edit ( self . console , linenum , tell ) elif self . _prompt : self . console . start_line ( ) self . console . write_line ( b'Ok\xff' )