Skip to content

Commit 6a4214c

Browse files
Some rewording in comment
1 parent 0b38cd9 commit 6a4214c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Objects/codeobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,8 @@ code_returns_only_none(PyCodeObject *co)
21172117
return 0;
21182118
}
21192119

2120-
// There is no need of value checking in this case.
2120+
// We still have to find the RETURN_VALUE opcode,
2121+
// but there is no need to check the return value.
21212122
none_index = -1;
21222123
}
21232124

0 commit comments

Comments
 (0)