Logo Search packages:      
Sourcecode: ipython version File versions  Download package

def IPython::kernel::core::prompts::Prompt1::__str__ (   self  ) 

Return a string form of the prompt.

This for is useful for continuation and output prompts, since it is
left-padded to match lengths with the primary one (if the
self.pad_left attribute is set).

Reimplemented from IPython::kernel::core::prompts::BasePrompt.

Definition at line 326 of file prompts.py.

00326                      :
        self.cache.prompt_count += 1
        self.cache.last_prompt = str_safe(self.p_str_nocolor).split('\n')[-1]
        return str_safe(self.p_str)

    def auto_rewrite(self):


Generated by  Doxygen 1.6.0   Back to index