parameters: (self, is_continuation)
return_statement: return prompt
docstring: !
      Generate prompt depending on is_continuation value
  
      @param is_continuation
      @return: The prompt string representation
docstring_summary: !
      Generate prompt depending on is_continuation value
docstring_tokens: ! Generate prompt depending on is_continuation value
function: def generatePrompt(self, is_continuation):
      """!
      Generate prompt depending on is_continuation value
  
      @param is_continuation
      @return: The prompt string representation
  
      """
  
      # Backwards compatibility with ipyton-0.11
      #
      ver = IPython.__version__
      if '0.11' in ver:
          prompt = self.IP.hooks.generate_prompt(is_continuation)
      else:
          if is_continuation:
              prompt = self.IP.prompt_manager.render('in2')
          else:
              prompt = self.IP.prompt_manager.render('in')
  
      return prompt
function_tokens: def generatePrompt ( self , is_continuation ) : # Backwards compatibility with ipyton-0.11 # ver = IPython . __version__ if '0.11' in ver : prompt = self . IP . hooks . generate_prompt ( is_continuation ) else : if is_continuation : prompt = self . IP . prompt_manager . render ( 'in2' ) else : prompt = self . IP . prompt_manager . render ( 'in' ) return prompt