Skip to content

Commit 898ff92

Browse files
JelleZijlstrafreddrake
authored andcommitted
fix error message in ast.c (#6776)
small_stmt -> compound_stmt
1 parent 1e2ec8a commit 898ff92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4063,7 +4063,7 @@ ast_for_stmt(struct compiling *c, const node *n)
40634063
return ast_for_async_stmt(c, ch);
40644064
default:
40654065
PyErr_Format(PyExc_SystemError,
4066-
"unhandled small_stmt: TYPE=%d NCH=%d\n",
4066+
"unhandled compound_stmt: TYPE=%d NCH=%d\n",
40674067
TYPE(n), NCH(n));
40684068
return NULL;
40694069
}

0 commit comments

Comments
 (0)