I often see examples that use doctest.ELLIPSIS
to limit output in interactive examples of Python use,
>>> print range(20) # doctest:+ELLIPSIS
[0, 1, ..., 18, 19]
and see here how to enable the feature in modules; but I can't figure out how to enable this feature interactvely.
How do I enable doctest.ELLIPSIS
at the Python or IPython prompt?