Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 40941:2ca14d6a369b
Whoops, fix build breakage. There were still a few uses of the bool type.
Remove the last few uses of bool/true/false.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 26 Feb 2007 19:14:12 +0000 |
| parents | 0ea24f4f2467 |
| children | 30e5cb3a55ac |
line wrap: on
line diff
--- a/Python/ast.c Mon Feb 26 19:04:49 2007 +0000 +++ b/Python/ast.c Mon Feb 26 19:14:12 2007 +0000 @@ -1660,7 +1660,7 @@ int j; slice_ty slc; expr_ty e; - bool simple = true; + int simple = 1; asdl_seq *slices, *elts; slices = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena); if (!slices) @@ -1670,7 +1670,7 @@ if (!slc) return NULL; if (slc->kind != Index_kind) - simple = false; + simple = 0; asdl_seq_SET(slices, j / 2, slc); } if (!simple) {
