summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-01-16 22:44:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-01-16 22:44:12 (GMT)
commitc8909ddd28dbd540aca15607bdb87747c8e5f18a (patch)
tree672aa9fae1739b32cb7c8e2fe7bfc98043ba2926 /Python/ast.c
parent205ad61313eef001d1e6d8afe338242dd1fac984 (diff)
downloadcpython-c8909ddd28dbd540aca15607bdb87747c8e5f18a.zip
cpython-c8909ddd28dbd540aca15607bdb87747c8e5f18a.tar.gz
cpython-c8909ddd28dbd540aca15607bdb87747c8e5f18a.tar.bz2
break out switch at correct place
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c
index ef161b6..55faf97 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -822,8 +822,8 @@ PyAST_FromNode(const node *n, PyCompilerFlags *flags, const char *filename,
}
res = Interactive(stmts, arena);
- break;
}
+ break;
default:
PyErr_Format(PyExc_SystemError,
"invalid node %d for PyAST_FromNode", TYPE(n));