New submission from Philip Kendall <joral...@gmail.com>:
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. ---------- assignee: docs@python components: Documentation messages: 320436 nosy: Philip Kendall, docs@python priority: normal severity: normal status: open title: Unused variable in pur embedding example type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33958> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com