[issue33958] Unused variable in pure embedding example

2018-06-26 Thread Philip Kendall


Philip Kendall  added the comment:

Thanks thatiparthy :-)

--
title: Unused variable in pur embedding example -> Unused variable in pure 
embedding example

___
Python tracker 
<https://bugs.python.org/issue33958>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33958] Unused variable in pur embedding example

2018-06-25 Thread Philip Kendall


New submission from Philip Kendall :

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 
<https://bugs.python.org/issue33958>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com