docs: def handle_one_command(self):
          """Process a single command. May have many lines."""
  
          while True:
              yield from self.write_prompt()
              codeobj = yield from self.read_command()
  
              if codeobj is not None:
                  yield from self.run_command(codeobj)