Commit 898ff92d authored by Jelle Zijlstra's avatar Jelle Zijlstra Committed by Fred Drake

fix error message in ast.c (#6776)

small_stmt -> compound_stmt
parent 1e2ec8a9
...@@ -4063,7 +4063,7 @@ ast_for_stmt(struct compiling *c, const node *n) ...@@ -4063,7 +4063,7 @@ ast_for_stmt(struct compiling *c, const node *n)
return ast_for_async_stmt(c, ch); return ast_for_async_stmt(c, ch);
default: default:
PyErr_Format(PyExc_SystemError, PyErr_Format(PyExc_SystemError,
"unhandled small_stmt: TYPE=%d NCH=%d\n", "unhandled compound_stmt: TYPE=%d NCH=%d\n",
TYPE(n), NCH(n)); TYPE(n), NCH(n));
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment