summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 0aed54c8fe..43b50c5dd4 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -545,9 +545,6 @@ PyAST_Validate(mod_ty mod)
case Expression_kind:
res = validate_expr(mod->v.Expression.body, Load);
break;
- case Suite_kind:
- PyErr_SetString(PyExc_ValueError, "Suite is not valid in the CPython compiler");
- break;
default:
PyErr_SetString(PyExc_SystemError, "impossible module node");
res = 0;