On Feb 17, 2009, at 8:14 PM, Alasdair wrote:

>
> I have tried
>
> def parent_off():
>      ipapi.get().set_hook("result_display",
> IPython.hooks.result_display)
>
> but it does nothing - the parent is still printed.

I bet IPython.hooks.result_display is what gets changed... you'd need  
to cache the original before changing it with parent_on.

- Robert

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to