sagemath/sagenb — Issue #34: foo? and foo?? followed by *enter* break when docstring contains a traceback
Author: williamstein
Created: 2012-01-29 07:25:36+00:00
State: open

If you do foo? or foo?? followed by *SHIFT-ENTER* and the docstring contains a Traceback, then the output gets corrupted. Doing the same followed by TAB, which gives a pop-out-able result, works perfectly.

```
def foo():
r"""
sage: 2+2
Traceback (most recent call last):
...
NotImplementedError
"""
```