Skip to content

Commit d8071cb

Browse files
Typo fix: "empy" should be "empty". (GH-16666)
(cherry picked from commit 01171eb) Co-authored-by: Hansraj Das <[email protected]>
1 parent 526ef85 commit d8071cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/compile.c

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

0 commit comments

Comments
 (0)