fix error message in ast.c (#6776)

small_stmt -> compound_stmt
This commit is contained in:
Jelle Zijlstra 2018-05-13 17:04:53 -04:00 committed by Fred Drake
parent 1e2ec8a996
commit 898ff92dac
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}