diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-25 04:35:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2019-12-25 04:35:20 (GMT) |
commit | 090bc148834aa4c92c683c2c07be572c31dd1b68 (patch) | |
tree | d6ec3445cb42050042320ba54ce68040be51e34e /Lib/code.py | |
parent | 59d06b987db34cde8783e265709366d244c9e35b (diff) | |
download | cpython-090bc148834aa4c92c683c2c07be572c31dd1b68.zip cpython-090bc148834aa4c92c683c2c07be572c31dd1b68.tar.gz cpython-090bc148834aa4c92c683c2c07be572c31dd1b68.tar.bz2 |
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>
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions