-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
ctypes _as_parameter_
does not mention all possible types
#107442
Labels
docs
Documentation in the Doc dir
Comments
erlend-aasland
pushed a commit
that referenced
this issue
Aug 7, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 7, 2023
…ythonGH-107443) (cherry picked from commit 6925c57) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Yhg1s
pushed a commit
that referenced
this issue
Aug 7, 2023
Thanks for the fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
The
_as_parameter_
attribute can be used when one wants to pass a custom object actypes
function.The documentation says:
However, one can also use a
ctypes
instance or another object which itself has the_as_parameter_
attribute.The documentation should be updated to include these two additional possibilities.
Linked PRs
_as_parameter_
#107443_as_parameter_
(GH-107443) #107718The text was updated successfully, but these errors were encountered: