-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-34797: Convert heapq to the argument clinic #9560
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
Conversation
There was a problem hiding this comment.
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'
.
There was a problem hiding this comment.
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.
Modules/_heapqmodule.c
Outdated
heap: object | ||
/ | ||
|
||
Maxheap variant of heappop |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch and thank you @taleinat !
When you're done making the requested changes, leave the comment: |
dabcdec
to
277ac90
Compare
I have made the requested changes; please review again |
Thanks for making the requested changes! @taleinat: please review the changes made to this pull request. |
277ac90
to
7302181
Compare
@pablogsal, please wait for @rhettinger's review before merging this in. |
There was a problem hiding this comment.
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.
@taleinat @serhiy-storchaka Thanks for the review! I will wait for @rhettinger to approve this change. |
Nice work. Thanks. |
https://bugs.python.org/issue34797