Skip to content

Docs: fix ssizeobjargproc parameters#100736

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
dlech:patch-1
Jan 4, 2023
Merged

Docs: fix ssizeobjargproc parameters#100736
kumaraditya303 merged 1 commit into
python:mainfrom
dlech:patch-1

Conversation

@dlech

@dlech dlech commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

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

ghost commented Jan 4, 2023

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@kumaraditya303 kumaraditya303 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.

Thanks!

@miss-islington

Copy link
Copy Markdown
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 <david@lechnology.com>
@bedevere-bot

Copy link
Copy Markdown

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 <david@lechnology.com>
@bedevere-bot

Copy link
Copy Markdown

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 <david@lechnology.com>
miss-islington added a commit that referenced this pull request Jan 4, 2023
(cherry picked from commit 5fb1c08)

Co-authored-by: David Lechner <david@lechnology.com>
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