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

def IPython::kernel::core::prompts::CachedOutput::_display (   self,
  arg 
) [private]

Default printer method, uses pprint.

Do ip.set_hook("result_display", my_displayhook) for custom result
display, e.g. when your own objects need special formatting.

Definition at line 531 of file prompts.py.

00531                           :
        """Default printer method, uses pprint.

        Do ip.set_hook("result_display", my_displayhook) for custom result
        display, e.g. when your own objects need special formatting.
        """
        try:
            return IPython.generics.result_display(arg)
        except TryNext:            
            return self.shell.hooks.result_display(arg)

    # Assign the default display method:
    display = _display


Generated by  Doxygen 1.6.0   Back to index