]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Minor C API documentation improvements. (GH-17696)
authorWilliam Ayd <william.ayd@icloud.com>
Wed, 25 Dec 2019 04:25:56 +0000 (23:25 -0500)
committerBenjamin Peterson <benjamin@python.org>
Wed, 25 Dec 2019 04:25:56 +0000 (22:25 -0600)
commit5c7ed7550ec2da16d7679e538fcd7c1a5631811f
treef92abd9e10bef96c8daa2f08c1e9030882cde1ee
parent025eeaa19607b2a80c979668dad405f567444573
Minor C API documentation improvements. (GH-17696)

The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without:
```
warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
```
The other change is a typo fix
Doc/c-api/iter.rst
Doc/includes/custom.c