keep the slice.step field as NULL if no step expression is given
diff --git a/Python/ast.c b/Python/ast.c
index b3f4fcb..772047f 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -1468,14 +1468,7 @@
ch = CHILD(n, NCH(n) - 1);
if (TYPE(ch) == sliceop) {
- if (NCH(ch) == 1) {
- /* No expression, so step is None */
- ch = CHILD(ch, 0);
- step = Name(new_identifier("None", c->c_arena), Load,
- LINENO(ch), ch->n_col_offset, c->c_arena);
- if (!step)
- return NULL;
- } else {
+ if (NCH(ch) != 1) {
ch = CHILD(ch, 1);
if (TYPE(ch) == test) {
step = ast_for_expr(c, ch);