Skip to content

Docs: fix ssizeobjargproc parameters #100736

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

Merged
merged 1 commit into from
Jan 4, 2023
Merged

Conversation

dlech
Copy link
Contributor

@dlech dlech commented Jan 4, 2023

The type ssizeobjargproc was missing the last PyObject * parameter. The actual type is defined at 1 and has the signature: typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);

The type `ssizeobjargproc` was missing the last `PyObject *` parameter. The actual type is defined at [1] and has the signature: `typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);`

[1]: https://github.com/python/cpython/blob/a286caa937405f7415dcc095a7ad5097c4433246/Include/object.h#L205
@bedevere-bot bedevere-bot added awaiting review docs Documentation in the Doc dir skip news labels Jan 4, 2023
@ghost
Copy link

ghost commented Jan 4, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

Copy link
Contributor

@kumaraditya303 kumaraditya303 left a comment

Choose a reason for hiding this comment

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

Thanks!

@miss-islington
Copy link
Contributor

Thanks @dlech for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 4, 2023
(cherry picked from commit 5fb1c08)

Co-authored-by: David Lechner <[email protected]>
@bedevere-bot
Copy link

GH-100743 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jan 4, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 4, 2023
(cherry picked from commit 5fb1c08)

Co-authored-by: David Lechner <[email protected]>
@bedevere-bot
Copy link

GH-100744 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jan 4, 2023
@dlech dlech deleted the patch-1 branch January 4, 2023 15:34
miss-islington added a commit that referenced this pull request Jan 4, 2023
(cherry picked from commit 5fb1c08)

Co-authored-by: David Lechner <[email protected]>
miss-islington added a commit that referenced this pull request Jan 4, 2023
(cherry picked from commit 5fb1c08)

Co-authored-by: David Lechner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants