code: def change_prompt_format(self, arg, **_):
          
          if not arg:
              message = 'Missing required argument, format.'
              return [(None, None, None, message)]
  
          self.prompt = self.get_prompt(arg)
          return [(None, None, None, "Changed prompt format to %s" % arg)]
docs: Change the prompt format.