summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2018-05-13 21:04:53 (GMT)
committerFred Drake <fred@fdrake.net>2018-05-13 21:04:53 (GMT)
commit898ff92dac30264fccb34783494889b026148f6d (patch)
treefd6581f6085fb77f8c30da7a42e65221f2f66a85 /Python/ast.c
parent1e2ec8a996daec65d8d5a3d43b66a9909c6d0653 (diff)
downloadcpython-898ff92dac30264fccb34783494889b026148f6d.zip
cpython-898ff92dac30264fccb34783494889b026148f6d.tar.gz
cpython-898ff92dac30264fccb34783494889b026148f6d.tar.bz2
fix error message in ast.c (#6776)
small_stmt -> compound_stmt
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 0d692ff..03a489a 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -4063,7 +4063,7 @@ ast_for_stmt(struct compiling *c, const node *n)
return ast_for_async_stmt(c, ch);
default:
PyErr_Format(PyExc_SystemError,
- "unhandled small_stmt: TYPE=%d NCH=%d\n",
+ "unhandled compound_stmt: TYPE=%d NCH=%d\n",
TYPE(n), NCH(n));
return NULL;
}