Disables the readline module. The readline module is responsible for keeping track of command history.
(self)
| 388 | self.commands = [cmd[3:] for cmd in dir(self.__class__) if cmd.startswith('do_')] |
| 389 | |
| 390 | def _disable_readline(self): |
| 391 | """Disables the readline module. |
| 392 | |
| 393 | The readline module is responsible for keeping track of command history. |
| 394 | """ |
| 395 | self.readline = None |
| 396 | |
| 397 | def _print_options(self, print_mode): |
| 398 | """Prints the current query options with default values distinguished from set values |