tskit
tskit copied to clipboard
Should we use >>> in doc examples
Some docstrings preface example code with >>>, e.g.
https://tskit.dev/tskit/docs/stable/python-api.html#tskit.Tree.count_topologies
and some don't, e.g.
https://tskit.dev/tskit/docs/stable/python-api.html#tskit.Tree.prev
I guess we should pick some convention (I think we could probably remove the >>>, so that copy-paste works more smoothly)
I'm guessing the repl form is quite old, predating the systematic use of sphinx. Happy to remove
I'm guessing the repl form is quite old, predating the systematic use of sphinx. Happy to remove
Agreed!