]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Minor C API documentation improvements. (GH-17698)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Dec 2019 04:35:20 +0000 (20:35 -0800)
committerBenjamin Peterson <benjamin@python.org>
Wed, 25 Dec 2019 04:35:20 +0000 (22:35 -0600)
commit090bc148834aa4c92c683c2c07be572c31dd1b68
treed6ec3445cb42050042320ba54ce68040be51e34e
parent59d06b987db34cde8783e265709366d244c9e35b
Minor C API documentation improvements. (GH-17698)

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
(cherry picked from commit 5c7ed7550ec2da16d7679e538fcd7c1a5631811f)

Co-authored-by: William Ayd <william.ayd@icloud.com>
Doc/c-api/iter.rst
Doc/includes/custom.c