]> granicus.if.org Git - python/commitdiff
Typo fix: "empy" should be "empty". (GH-16666)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 9 Oct 2019 02:42:22 +0000 (19:42 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 02:42:22 +0000 (19:42 -0700)
(cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
Python/compile.c

index a6c5ab6324f0d2db7161bfcb7c8ab45755310074..a512e9cbd13a16773bb017ea8239a07dfa5e6607 100644 (file)
@@ -1749,7 +1749,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);