Skip to content

gh-133530: Differentiate between min/max heaps more #133613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

StanFromIreland
Copy link
Contributor

@StanFromIreland StanFromIreland commented May 7, 2025

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news labels May 7, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs May 7, 2025
@rhettinger rhettinger self-assigned this May 8, 2025
@@ -170,7 +170,7 @@ The module also offers three general purpose functions based on heaps.
*reverse* is a boolean value. If set to ``True``, then the input elements
are merged as if each comparison were reversed. To achieve behavior similar
to ``sorted(itertools.chain(*iterables), reverse=True)``, all iterables must
be sorted from largest to smallest.
be sorted from largest to smallest, like for example, a max-heap.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The inputs must be sorted, general max-heaps aren't acceptable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants