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 Philip Kendall
Recipients Philip Kendall, docs@python
Date 2018-06-25.19:56:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529956589.29.0.56676864532.issue33958@psf.upfronthosting.co.za>
In-reply-to
Content
Line 6 of the "Pure Embedding" example at https://docs.python.org/3/extending/embedding.html#pure-embedding :

PyObject *pName, *pModule, *pDict, *pFunc;

contains the pDict variable which is not used anywhere else in the code, giving a compiler warning. Simple fix: just remove pDict from the list of variables.

I can make a PR if you need one.
History
Date User Action Args
2018-06-25 19:56:29Philip Kendallsetrecipients: + Philip Kendall, docs@python
2018-06-25 19:56:29Philip Kendallsetmessageid: <1529956589.29.0.56676864532.issue33958@psf.upfronthosting.co.za>
2018-06-25 19:56:29Philip Kendalllinkissue33958 messages
2018-06-25 19:56:29Philip Kendallcreate