]> granicus.if.org Git - python/commitdiff
Typo fix: "empy" should be "empty". (GH-16666)
authorHansraj Das <raj.das.136@gmail.com>
Wed, 9 Oct 2019 02:24:02 +0000 (07:54 +0530)
committerBenjamin Peterson <benjamin@python.org>
Wed, 9 Oct 2019 02:24:02 +0000 (19:24 -0700)
Python/compile.c

index edd8625cba91ccf9bcb97361b240b2da9389d6d8..3b2188e6e74386b58b7dd8250e162365a1c0c927 100644 (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);