Mercurial > cpython-lru_cache-weakref
comparison Python/ast.c @ 54638:86b32e1fd99f legacy-trunk
remove useless assertion
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Mon, 08 Jun 2009 22:18:32 +0000 |
| parents | 16759f62eb22 |
| children | 1b8602c38fd0 |
comparison
equal
deleted
inserted
replaced
| 54635:1c7eb5b6229d | 54638:86b32e1fd99f |
|---|---|
| 3128 if (TYPE(n) == simple_stmt) { | 3128 if (TYPE(n) == simple_stmt) { |
| 3129 assert(num_stmts(n) == 1); | 3129 assert(num_stmts(n) == 1); |
| 3130 n = CHILD(n, 0); | 3130 n = CHILD(n, 0); |
| 3131 } | 3131 } |
| 3132 if (TYPE(n) == small_stmt) { | 3132 if (TYPE(n) == small_stmt) { |
| 3133 REQ(n, small_stmt); | |
| 3134 n = CHILD(n, 0); | 3133 n = CHILD(n, 0); |
| 3135 /* small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt | 3134 /* small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt |
| 3136 | flow_stmt | import_stmt | global_stmt | exec_stmt | 3135 | flow_stmt | import_stmt | global_stmt | exec_stmt |
| 3137 | assert_stmt | 3136 | assert_stmt |
| 3138 */ | 3137 */ |
