mirror of
https://github.com/python/cpython.git
synced 2026-05-18 10:24:42 -04:00
Add some asserts and update comments
This commit is contained in:
@@ -3031,6 +3031,7 @@ compiler_boolop(struct compiler *c, expr_ty e)
|
||||
return 0;
|
||||
s = e->v.BoolOp.values;
|
||||
n = asdl_seq_LEN(s) - 1;
|
||||
assert(n >= 0);
|
||||
for (i = 0; i < n; ++i) {
|
||||
VISIT(c, expr, (expr_ty)asdl_seq_GET(s, i));
|
||||
ADDOP_JREL(c, jumpi, end);
|
||||
|
||||
Reference in New Issue
Block a user