Skip to content

Should we use >>> in doc examples #2522

Description

@hyanwong

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions