-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-42114: ctypes documentation: fix winmode parameter default value #29976
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
Conversation
Signed-off-by: Louis Sautier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@JulienPalard: Would you mind to double check?
It's documented below:
You removed your comment, so I guess that I found that section. I agree that the parameter documentation is far from the function documentation :-( A different option would be to document that OleDLL, WinDLL and PyDLL inherit from CDLL, and move winmode documentation inside CDLL doc. |
GH-30037 is a backport of this pull request to the 3.10 branch. |
GH-30038 is a backport of this pull request to the 3.9 branch. |
…ythonGH-29976) Signed-off-by: Louis Sautier <[email protected]> (cherry picked from commit c1051e0) Co-authored-by: Louis Sautier <[email protected]>
…ythonGH-29976) Signed-off-by: Louis Sautier <[email protected]> (cherry picked from commit c1051e0) Co-authored-by: Louis Sautier <[email protected]>
…H-29976) (GH-30038) Signed-off-by: Louis Sautier <[email protected]> (cherry picked from commit c1051e0) Co-authored-by: Louis Sautier <[email protected]>
…H-29976) (GH-30037) Signed-off-by: Louis Sautier <[email protected]> (cherry picked from commit c1051e0) Co-authored-by: Louis Sautier <[email protected]>
Hi,
This makes the documentation consistent with the actual implementation. I believe this needs to be backported to 3.8, 3.9 and 3.10 branches.
https://bugs.python.org/issue42114