sphinx-autorun icon indicating copy to clipboard operation
sphinx-autorun copied to clipboard

Output format with pycon shows tuple of command and pyson format?

Open unstableunicorn opened this issue 6 years ago • 0 comments

I just started trying this as some of the commands are reading changing data however I noticed the output is formatted as a tuple:

.. runblock:: pycon

   >>> print("Hello")

Will show in the html output as:

('>>>', 'print("Hello"))
Hello

Is there a way to show the output as:

>>> print("Hello")
Hello

Or do you know what may be causing it? using python 2.7.13

unstableunicorn avatar Apr 18 '18 02:04 unstableunicorn