code: def get_input(self, more=False):
          
          received = None
          try:
              received = self.prompt.input(more)
          except KeyboardInterrupt:
              print()
              printerr("KeyboardInterrupt")
          except EOFError:
              print()
              self.exit_runner()
          else:
              if received.startswith(exit_chars):
                  self.exit_runner()
                  received = None
          return received
docs: Prompt for code input.