Skip to content

Commit 01171eb

Browse files
hansrajdasbenjaminp
authored andcommitted
Typo fix: "empy" should be "empty". (GH-16666)
1 parent 594e2ed commit 01171eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/compile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ compiler_body(struct compiler *c, asdl_seq *stmts)
17511751
/* Set current line number to the line number of first statement.
17521752
This way line number for SETUP_ANNOTATIONS will always
17531753
coincide with the line number of first "real" statement in module.
1754-
If body is empy, then lineno will be set later in assemble. */
1754+
If body is empty, then lineno will be set later in assemble. */
17551755
if (c->u->u_scope_type == COMPILER_SCOPE_MODULE &&
17561756
!c->u->u_lineno && asdl_seq_LEN(stmts)) {
17571757
st = (stmt_ty)asdl_seq_GET(stmts, 0);

0 commit comments

Comments
 (0)