bpo-20181: Convert the readline module to the Argument Clinic by ZackerySpytz · Pull Request #14326 · python/cpython · GitHub
Skip to content

bpo-20181: Convert the readline module to the Argument Clinic - #14326

Merged
serhiy-storchaka merged 5 commits into
python:masterfrom
ZackerySpytz:bpo-20181-readline-module-Argument-Clinic
Jul 12, 2020
Merged

serhiy-storchaka merged 5 commits into
python:masterfrom
ZackerySpytz:bpo-20181-readline-module-Argument-Clinic

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Jun 23, 2019

Copy link
Copy Markdown
Contributor

Comment thread Modules/readline.c Outdated
Comment thread Modules/readline.c Outdated
Comment thread Modules/readline.c Outdated
Comment thread Modules/readline.c Outdated
@bedevere-bot

Copy link
Copy Markdown

ZackerySpytz and others added 3 commits July 11, 2020 06:09
@ZackerySpytz

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@serhiy-storchaka: please review the changes made to this pull request.

Comment thread Modules/readline.c Outdated
readline.get_endidx

/* Get the ending index for the scope of the tab-completion */
get the ending index of the completion scope

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.

Please fix also other docstrings.

Suggested change
get the ending index of the completion scope
Get the ending index of the completion scope.

Comment thread Modules/readline.c Outdated
/*[clinic input]
readline.get_completer

Returns current completer function.

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.

Maybe use "get" for uniformity with other functions?

At least "return" is more preferable than "returns".

@bedevere-bot

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@serhiy-storchaka

Copy link
Copy Markdown
Member

👍

@serhiy-storchaka
serhiy-storchaka merged commit b7047e5 into python:master Jul 12, 2020
@bedevere-bot

Copy link
Copy Markdown

@serhiy-storchaka: Please replace # with GH- in the commit message next time. Thanks!

@bedevere-bot

Copy link
Copy Markdown

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 4, 2020
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 20, 2020
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
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.

4 participants