Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
rhettinger merged 3 commits into
python:masterpython/cpython:masterfrom
pablogsal:heapq_argument_clinicpablogsal/cpython:heapq_argument_clinicCopy head branch name to clipboard
Sep 28, 2018
Merged

bpo-34797: Convert heapq to the argument clinic#9560
rhettinger merged 3 commits into
python:masterpython/cpython:masterfrom
pablogsal:heapq_argument_clinicpablogsal/cpython:heapq_argument_clinicCopy head branch name to clipboard

Conversation

@pablogsal

@pablogsal pablogsal commented Sep 25, 2018

Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

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'.

@taleinat taleinat left a comment

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.

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.

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.