Skip to content

bpo-34797: Convert heapq to the argument clinic#9560

Merged
rhettinger merged 3 commits into
python:masterfrom
pablogsal:heapq_argument_clinic
Sep 28, 2018
Merged

bpo-34797: Convert heapq to the argument clinic#9560
rhettinger merged 3 commits into
python:masterfrom
pablogsal:heapq_argument_clinic

Conversation

@pablogsal
Copy link
Copy Markdown
Member

@pablogsal pablogsal commented Sep 25, 2018

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a 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'.

Copy link
Copy Markdown
Contributor

@taleinat taleinat left a 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.

Comment thread Modules/_heapqmodule.c Outdated
heap: object
/

Maxheap variant of heappop
Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Member Author

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 !

@bedevere-bot
Copy link
Copy Markdown

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

@pablogsal pablogsal force-pushed the heapq_argument_clinic branch from dabcdec to 277ac90 Compare September 26, 2018 12:54
@pablogsal
Copy link
Copy Markdown
Member Author

I have made the requested changes; please review again

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

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

@pablogsal pablogsal force-pushed the heapq_argument_clinic branch from 277ac90 to 7302181 Compare September 26, 2018 12:54
@taleinat
Copy link
Copy Markdown
Contributor

@pablogsal, please wait for @rhettinger's review before merging this in.

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a 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.

@pablogsal
Copy link
Copy Markdown
Member Author

@taleinat @serhiy-storchaka Thanks for the review! I will wait for @rhettinger to approve this change.

@rhettinger rhettinger self-assigned this Sep 28, 2018
@rhettinger rhettinger merged commit e2f48bf into python:master Sep 28, 2018
@rhettinger
Copy link
Copy Markdown
Contributor

Nice work. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants