Skip to content

Commit 362ede2

Browse files
benjaminpWillAyd
andauthored
[2.7] Minor C API documentation improvements. (GH-17699)
(cherry picked from commit 5c7ed75) Co-authored-by: William Ayd <william.ayd@icloud.com>
1 parent 5f2c134 commit 362ede2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/iter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ something like this::
3636
/* propagate error */
3737
}
3838
39-
while (item = PyIter_Next(iterator)) {
39+
while ((item = PyIter_Next(iterator))) {
4040
/* do something with item */
4141
...
4242
/* release reference when done */

0 commit comments

Comments
 (0)
close