This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shreyanavigyan
Recipients docs@python, shreyanavigyan
Date 2021-04-06.06:37:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617691036.34.0.606106237271.issue43739@roundup.psfhosted.org>
In-reply-to
Content
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. The PR(s) attached to this issue fixes it by declaring and initializing the pmodule variable. This issue is common in all the documentation versions. The first PR will be for documentation version 3.10. If it's accepted then I would request other developers to submit PRs for documentation 3.9, 3.8, 3.7 and 3.6 because I'm having a problem switching to those branches (I'm continuously facing the problem "HEAD detached" if I switch to those branches).

Thanking you

With Regards
History
Date User Action Args
2021-04-06 06:37:16shreyanavigyansetrecipients: + shreyanavigyan, docs@python
2021-04-06 06:37:16shreyanavigyansetmessageid: <1617691036.34.0.606106237271.issue43739@roundup.psfhosted.org>
2021-04-06 06:37:16shreyanavigyanlinkissue43739 messages
2021-04-06 06:37:16shreyanavigyancreate