Skip to content

Conversation

@shreyanavigyan
Copy link
Contributor

@shreyanavigyan shreyanavigyan commented Apr 10, 2021

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.9.)

https://bugs.python.org/issue43739

… initialize the pmodule variable to be of the right type
@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Apr 10, 2021
@shreyanavigyan shreyanavigyan changed the title [3.9] bpo-43739: Fixing the example code in Doc/extending/extending.rst to declare and initialize the pmodule variable to be of the right type [3.9] 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-25330) Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants