bpo-34797: Convert heapq to the argument clinic by pablogsal · Pull Request #9560 · python/cpython

@pablogsal

@pablogsal

serhiy-storchaka

Choose a reason for hiding this comment

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

Use more descriptive object instead of 'O'.

@pablogsal

taleinat

Choose a reason for hiding this comment

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

Looking good! Just one minor note.

heap: object
/

Maxheap variant of heappop

Choose a reason for hiding this comment

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

Why was the period at the end of the doc-string removed?

This applies here and in the other max-heap-variant functions.

Choose a reason for hiding this comment

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

@bedevere-bot

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@pablogsal

I have made the requested changes; please review again

@bedevere-bot

Thanks for making the requested changes!

@taleinat: please review the changes made to this pull request.

@pablogsal

taleinat

@taleinat

serhiy-storchaka

Choose a reason for hiding this comment

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

LGTM, but these changes need to be approved by @rhettinger.

auvipy

@pablogsal

rhettinger

@rhettinger