[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:
Benjamin Peterson 2019-12-24 22:34:38 -06:00 committed by GitHub
parent 5f2c1345a7
commit 362ede2232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 */