-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Wrong type for first parameter of newfunc
C function type
#125674
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
Labels
docs
Documentation in the Doc dir
Comments
rhansen
added a commit
to rhansen/cpython
that referenced
this issue
Oct 18, 2024
newfunc
function typenewfunc
C function type
rhansen
added a commit
to rhansen/cpython
that referenced
this issue
Oct 18, 2024
JelleZijlstra
added a commit
to rhansen/cpython
that referenced
this issue
Oct 30, 2024
willingc
pushed a commit
that referenced
this issue
Oct 30, 2024
* gh-125674: Doc: Fix type of `newfunc` first parameter * fixup! gh-125674: Doc: Fix type of `newfunc` first parameter --------- Co-authored-by: Jelle Zijlstra <[email protected]>
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…-125675) * pythongh-125674: Doc: Fix type of `newfunc` first parameter * fixup! pythongh-125674: Doc: Fix type of `newfunc` first parameter --------- Co-authored-by: Jelle Zijlstra <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 3, 2025
…-125675) * pythongh-125674: Doc: Fix type of `newfunc` first parameter * fixup! pythongh-125674: Doc: Fix type of `newfunc` first parameter --------- (cherry picked from commit 616468b) Co-authored-by: Richard Hansen <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 3, 2025
…-125675) * pythongh-125674: Doc: Fix type of `newfunc` first parameter * fixup! pythongh-125674: Doc: Fix type of `newfunc` first parameter --------- (cherry picked from commit 616468b) Co-authored-by: Richard Hansen <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
Auto-merge enabled for backports. Closing as resolved; thanks! |
erlend-aasland
pushed a commit
that referenced
this issue
Jan 3, 2025
#128449) (cherry picked from commit 616468b) Co-authored-by: Richard Hansen <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
erlend-aasland
pushed a commit
that referenced
this issue
Jan 3, 2025
#128448) (cherry picked from commit 616468b) Co-authored-by: Richard Hansen <[email protected]> Co-authored-by: Jelle Zijlstra <[email protected]>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…-125675) * pythongh-125674: Doc: Fix type of `newfunc` first parameter * fixup! pythongh-125674: Doc: Fix type of `newfunc` first parameter --------- Co-authored-by: Jelle Zijlstra <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
The first parameter of the
newfunc
function type has typePyTypeObject *
:cpython/Include/object.h
Line 354 in a0f5c8e
However, in a couple of places in the documentation it is shown as
PyObject *
:cpython/Doc/c-api/typeobj.rst
Lines 355 to 361 in a0f5c8e
cpython/Doc/c-api/typeobj.rst
Lines 2647 to 2651 in a0f5c8e
Linked PRs
newfunc
first parameter #125675newfunc
first parameter (GH-125675) #128448newfunc
first parameter (GH-125675) #128449The text was updated successfully, but these errors were encountered: