Tal Einat <taleinat+pyt...@gmail.com> added the comment:
> Another desirable feature is the ability to cut and paste snippets into > docstrings. This is essential not just for doctest, but even for untested > examples in docstrings. > Those examples, need to be recognizable to humans as interactive sessions > with outputs clearly distinguished from inputs. When I tried out the new > sidebar in prep for a class, it was impossible to include the ps1 prompts in > a cut and paste selection. They had to be manually typed back in. This is no longer the case. In a quick followup PR, which has been merged for some time now, we added a context-menu option "Copy with prompts" which results in code samples directly usable for doctests and code samples. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37903> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com