1 parent ae41f62 commit 918f0c4Copy full SHA for 918f0c4
1 file changed
Python/compile.c
@@ -1482,7 +1482,7 @@ compiler_body(struct compiler *c, asdl_seq *stmts)
1482
/* Set current line number to the line number of first statement.
1483
This way line number for SETUP_ANNOTATIONS will always
1484
coincide with the line number of first "real" statement in module.
1485
- If body is empy, then lineno will be set later in assemble. */
+ If body is empty, then lineno will be set later in assemble. */
1486
if (c->u->u_scope_type == COMPILER_SCOPE_MODULE &&
1487
!c->u->u_lineno && asdl_seq_LEN(stmts)) {
1488
st = (stmt_ty)asdl_seq_GET(stmts, 0);
0 commit comments