Commit 01171ebd authored by Hansraj Das's avatar Hansraj Das Committed by Benjamin Peterson

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

parent 594e2edf
...@@ -1751,7 +1751,7 @@ compiler_body(struct compiler *c, asdl_seq *stmts) ...@@ -1751,7 +1751,7 @@ compiler_body(struct compiler *c, asdl_seq *stmts)
/* Set current line number to the line number of first statement. /* Set current line number to the line number of first statement.
This way line number for SETUP_ANNOTATIONS will always This way line number for SETUP_ANNOTATIONS will always
coincide with the line number of first "real" statement in module. 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 && if (c->u->u_scope_type == COMPILER_SCOPE_MODULE &&
!c->u->u_lineno && asdl_seq_LEN(stmts)) { !c->u->u_lineno && asdl_seq_LEN(stmts)) {
st = (stmt_ty)asdl_seq_GET(stmts, 0); st = (stmt_ty)asdl_seq_GET(stmts, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment