-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
[3.10] bpo-43739: Fixing the example code in Doc/extending/extending.rst to declare and initialize the pmodule variable to be of the right type (GH-25207) #25207
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
… initialize the pmodule variable to be of the right type.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
|
Please have a review of my change in the documentation. (Note: I have signed the Python CLA recently but I haven't received confirmation yet.) |
|
Please have a review of my PR. |
|
Please don't pay attention to the unsuccessful checks . Both Travis CI and Azure Pipelines fail with this error in the Documentation Build :- I haven't messed with this file at all but the build fails. (The same change in the #25330 doesn't result in a error). |
|
Thanks @shreyanavigyan for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
|
Thanks @shreyanavigyan for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
In the example code of the Extending Python with C/C++ documentation the pmodule variable (that stores the return value of PyImport_ImportModule) was never declared. This PR fixes the problem by declaring and initializing the pmodule variable.
(This PR is for documentation version 3.10.)
Issue URL: https://bugs.python.org/issue43739
https://bugs.python.org/issue43739