[2.7] Minor C API documentation improvements. (GH-17699)
(cherry picked from commit 5c7ed7550e
)
Co-authored-by: William Ayd <william.ayd@icloud.com>
This commit is contained in:
parent
5f2c1345a7
commit
362ede2232
|
@ -36,7 +36,7 @@ something like this::
|
|||
/* propagate error */
|
||||
}
|
||||
|
||||
while (item = PyIter_Next(iterator)) {
|
||||
while ((item = PyIter_Next(iterator))) {
|
||||
/* do something with item */
|
||||
...
|
||||
/* release reference when done */
|
||||
|
|
Loading…
Reference in New Issue