Skip to content

Commit

Permalink
fix error message in ast.c (python#6776)
Browse files Browse the repository at this point in the history
small_stmt -> compound_stmt
  • Loading branch information
JelleZijlstra authored and freddrake committed May 13, 2018
1 parent 1e2ec8a commit 898ff92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 898ff92

Please sign in to comment.