Typo fix: "empy" should be "empty". (GH-16666)

This commit is contained in:
Hansraj Das 2019-10-09 07:54:02 +05:30 committed by Benjamin Peterson
parent 594e2edfb5
commit 01171ebd96
1 changed files with 1 additions and 1 deletions

View File

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