https://github.com/python/cpython/commit/898ff92dac30264fccb34783494889b026148f6d commit: 898ff92dac30264fccb34783494889b026148f6d branch: master author: Jelle Zijlstra <jelle.zijlstra at gmail.com> committer: Fred Drake <fred at fdrake.net> date: 2018年05月13日T17:04:53-04:00 summary: fix error message in ast.c (#6776) small_stmt -> compound_stmt files: M Python/ast.c diff --git a/Python/ast.c b/Python/ast.c index 0d692ffd95bd..03a489a74ef0 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; }