Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

bpo-37342: Fix the incorrect nb_index's type in typeobj documentation#14241

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
miss-islington merged 5 commits intopython:masterfromshihai1991:bpo_37342
Jun 20, 2019

Conversation

@shihai1991
Copy link
Member

@shihai1991shihai1991 commentedJun 19, 2019
edited by Mariatta
Loading

It was listed asbinaryfunc. It should beunaryfunc.

@bedevere-botbedevere-bot added the docsDocumentation in the Doc dir labelJun 19, 2019
@shihai1991shihai1991 changed the titlebpo-37342: update the nb_index's typebpo-37342: update the nb_index's type in docJun 19, 2019
Copy link
Member

@tirkarthitirkarthi left a comment

Choose a reason for hiding this comment

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

LGTM. It's listed as unaryfunc ".. c:member:: unaryfunc PyNumberMethods.nb_index" inhttps://github.com/python/cpython/blob/master/Doc/c-api/typeobj.rst line 2069.

@tirkarthi
Copy link
Member

tirkarthi commentedJun 19, 2019
edited
Loading

Please fix the CI error. I think the last column with "index" athttps://travis-ci.org/python/cpython/jobs/547863960#L399 needs a space so that it's aligned with the rest of columns in the table as shown in the CI error log.

Edit: I think NEWS entry is not needed for this doc change

@shihai1991
Copy link
MemberAuthor

Please fix the CI error. I think the last column with "index" athttps://travis-ci.org/python/cpython/jobs/547863960#L399 needs a space so that it's aligned with the rest of columns in the table as shown in the CI error log.

Edit: I think NEWS entry is not needed for this doc change

Good catch. Let us try it ;)

Copy link
Member

@MariattaMariatta left a comment

Choose a reason for hiding this comment

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

Thanks. I confirmed it isunaryfunc in

unaryfuncnb_index;
. News file is not needed.

@MariattaMariatta changed the titlebpo-37342: update the nb_index's type in docbpo-37342: Fix the incorrect nb_index's type in typeobj documentationJun 20, 2019
@miss-islington
Copy link
Contributor

@shihai1991: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor

Thanks@shihai1991 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 20, 2019
…pythonGH-14241)It was listed as `binaryfunc`. It should be `unaryfunc`.(cherry picked from commitbc5caf8)Co-authored-by: Hai Shi <shihai1992@gmail.com>
@bedevere-bot
Copy link

GH-14254 is a backport of this pull request to the3.8 branch.

miss-islington added a commit that referenced this pull requestJun 20, 2019
…GH-14241)It was listed as `binaryfunc`. It should be `unaryfunc`.(cherry picked from commitbc5caf8)Co-authored-by: Hai Shi <shihai1992@gmail.com>
@tirkarthi
Copy link
Member

Thank you@shihai1991

CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull requestJun 21, 2019
* master: (599 commits)  Docs: Improved phrasing (pythonGH-14069)  Remove redundant if check from optional argument function in argparse. (pythonGH-8766)  bpo-37289: Add a test for if with ifexpr in the peephole optimiser to detect regressions (pythonGH-14127)  Update What's New in Python 3.9 (pythonGH-14253)  bpo-36511: Improve ARM32 buildbot scripts (pythonGH-14251)  bpo-37151: remove _PyCFunction_FastCallDict (pythonGH-14269)  Fix typo, 'widger' -> 'widget', in idlelib/tree.py (pythonGH-14263)  Fix bpo number in News file. (pythonGH-14260)  bpo-37342: Fix the incorrect nb_index's type in typeobj documentation (pythonGH-14241)  Update What's New in Python 3.8 (pythonGH-14239)  bpo-36710: Use tstate in pylifecycle.c (pythonGH-14249)  Add missing single quote in io.TextIOWrapper.reconfigure documentation (pythonGH-14246)  bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (pythonGH-13454)  bpo-37333: Ensure IncludeTkinter has a value (pythonGH-14240)  bpo-37331: Clarify format of socket handler messages in the documentation. (pythonGH-14234)  bpo-37258: Not a bug, but added a unit test and updated documentation. (pythonGH-14229)  bpo-36710: Remove PyImport_Cleanup() function (pythonGH-14221)  Fix name of '\0'. (pythonGH-14222)  bpo-36710: Add tstate parameter in import.c (pythonGH-14218)  Document typing.ForwardRef (pythonGH-14216)  ...
lisroach pushed a commit to lisroach/cpython that referenced this pull requestSep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull requestJan 14, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tirkarthitirkarthitirkarthi approved these changes

@MariattaMariattaMariatta approved these changes

Assignees

No one assigned

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@shihai1991@tirkarthi@miss-islington@bedevere-bot@Mariatta@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp