Clarify documentation and add doctests by jmr · Pull Request #58 · garro95/priority-queue

@jmr

I found the semantics of push/push_increase/push_decrease somewhat unclear, so I reworded the docs and added doctest examples.

@jmr

I found the semantics of `push`/`push_increase`/`push_decrease` somewhat
unclear, so I reworded the docs and added doctest examples.

@garro95

Sorry for the late response, I missed this.

Thank you for your contribution. I find your wording much clearer and the doctest examples help to understand the semantic

@garro95

A similar change would be helpful for the DoublePriorityQueue too

@jmr